Skip to content

Commit

Permalink
Merge pull request #71 from doronz88/feature/test_objc
Browse files Browse the repository at this point in the history
tests: add test_objc
  • Loading branch information
doronz88 authored Feb 18, 2022
2 parents a74bca5 + 657f38a commit 5cca37e
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 5cca37e

Please sign in to comment.