def setUp(self): Config.load() DbClient.useTestTables()
def setUp(self): Config.load() DbClient.startDatabase() DbClient.useTestTables() # important!
def setUp(self): Config.load() DbClient.useTestTables() CryptoClient.useTestKeyring() TestUtils.setupKeyring(["key1_private", "key2_public"]) TestUtils.setupOwnProfile("46944E14D24D711B") # id of key1
def setupOwnProfile(keyId): DbClient.useTestTables() DbClient.deleteOwnProfile() DbClient.updateContact(TestUtils._ownTorId, {"status":"self", "ownprofile":True, "keyid":keyId, "name":"Geoffrey Lancaster", "displayName":"Me", "description":"Ä fictitious person with a couple of Umläute in his description."})