diff --git a/src/rpcclient/tests/test_objc.py b/src/rpcclient/tests/test_objc.py new file mode 100644 index 00000000..bbea5745 --- /dev/null +++ b/src/rpcclient/tests/test_objc.py @@ -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