Esempio n. 1
0
 def setUp(self):
     Config.load()
     DbClient.useTestTables()
Esempio n. 2
0
	def setUp(self):
		Config.load()
		DbClient.startDatabase()
		DbClient.useTestTables()  # important!
Esempio n. 3
0
 def setUp(self):
     Config.load()
     DbClient.useTestTables()
     CryptoClient.useTestKeyring()
     TestUtils.setupKeyring(["key1_private", "key2_public"])
     TestUtils.setupOwnProfile("46944E14D24D711B")  # id of key1
Esempio n. 4
0
	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."})