Пример #1
0
 def test_new(self, get_deki_user_by_email):
     testaccount_fixture = open(fixture_file)
     user_info = DekiUser.parse_user_info(testaccount_fixture.read())
     get_deki_user_by_email.return_value = user_info
     test(self)
Пример #2
0
 def test_new(self, get_deki_user):
     testaccount_fixture = open(fixture_file)
     user_info = DekiUser.parse_user_info(testaccount_fixture.read())
     get_deki_user.return_value = user_info
     test(self)
Пример #3
0
 def test_new(self, put_mindtouch_user):
     testaccount_fixture = open(TESTACCOUNT_FIXTURE_XML)
     user_info = DekiUser.parse_user_info(testaccount_fixture.read())
     put_mindtouch_user.return_value = user_info
     test(self)
Пример #4
0
 def test_new(self, put_mindtouch_user):
     testaccount_fixture = open(TESTACCOUNT_FIXTURE_XML)
     user_info = DekiUser.parse_user_info(testaccount_fixture.read())
     put_mindtouch_user.return_value = user_info
     test(self)