Skip to content

Commit

Permalink
tests: add test_objc
Browse files Browse the repository at this point in the history
  • Loading branch information
doronz88 committed Feb 18, 2022
1 parent a74bca5 commit 657f38a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/rpcclient/tests/test_objc.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
def test_objc(client):
d = client.symbols.objc_getClass('NSMutableDictionary').objc_call('new').objc_symbol

# call method
d.setObject_forKey_(client.cf('value'), client.cf('key'))

# call property
assert '{\n key = value;\n}' == d.description.py

0 comments on commit 657f38a

Please sign in to comment.