def test_copy_template(self):
     tester1 = Database_manage_recap()
     username = '******'
     tester1.dbconnection(username)
     answer = tester1.copy_template()
     #print('ans: ', type(answer))
     self.assertEqual(type(answer), dict," the method should return a dictionary")
Exemple #2
0
 def set_pricing(self, username):
     pass
     username = username + '_pricing'
     print('username : '******'set_pricing')
     tester1 = Database_manage_recap()
     self.store = tester1.dbconnection(username, 'pricing_master_template')
     temp = tester1.copy_template()
     #print(temp)
     return temp