15660f000d3973fe1f71f41034dc42fc08103aad,studio/tests/model_test.py,FirebaseProviderTest,test_get_set_noauth_firebase,#FirebaseProviderTest#,67
Before Change
def test_get_set_noauth_firebase(self):
remove_all_keys()
fb = self.get_firebase_provider("test_config.yaml")
response = fb.__getitem__("authtest/hello")
self.assertTrue(response is None)
random_str = str(uuid.uuid4())
After Change
def test_get_set_noauth_firebase(self):
remove_all_keys()
with self.get_firebase_provider("test_config.yaml") as fb:
response = fb.__getitem__("authtest/hello")
self.assertTrue(response is None)
random_str = str(uuid.uuid4())
key_path = "authtest/randomKey"
fb.__setitem__(key_path, random_str)
self.assertTrue(fb.__getitem__(key_path) is None)
remove_all_keys()
def test_get_set_firebase_bad(self):
// smoke test to make sure access to a database at wrong
// url is reported, but does not crash the system
with self.get_firebase_provider("test_bad_config.yaml") as fb:
In pattern: SUPERPATTERN
Frequency: 11
Non-data size: 5
Instances
Project Name: studioml/studio
Commit Name: 15660f000d3973fe1f71f41034dc42fc08103aad
Time: 2017-09-06
Author: peter.zhokhov@sentient.ai
File Name: studio/tests/model_test.py
Class Name: FirebaseProviderTest
Method Name: test_get_set_noauth_firebase
Project Name: studioml/studio
Commit Name: 15660f000d3973fe1f71f41034dc42fc08103aad
Time: 2017-09-06
Author: peter.zhokhov@sentient.ai
File Name: studio/tests/model_test.py
Class Name: FirebaseProviderTest
Method Name: test_add_experiment
Project Name: studioml/studio
Commit Name: 15660f000d3973fe1f71f41034dc42fc08103aad
Time: 2017-09-06
Author: peter.zhokhov@sentient.ai
File Name: studio/tests/model_test.py
Class Name: FirebaseProviderTest
Method Name: test_start_experiment
Project Name: studioml/studio
Commit Name: 15660f000d3973fe1f71f41034dc42fc08103aad
Time: 2017-09-06
Author: peter.zhokhov@sentient.ai
File Name: studio/tests/model_test.py
Class Name: FirebaseProviderTest
Method Name: test_get_user_keybase
Project Name: studioml/studio
Commit Name: 15660f000d3973fe1f71f41034dc42fc08103aad
Time: 2017-09-06
Author: peter.zhokhov@sentient.ai
File Name: studio/tests/model_test.py
Class Name: FirebaseProviderTest
Method Name: test_get_experiments_keybase
Project Name: studioml/studio
Commit Name: 15660f000d3973fe1f71f41034dc42fc08103aad
Time: 2017-09-06
Author: peter.zhokhov@sentient.ai
File Name: studio/tests/model_test.py
Class Name: FirebaseProviderTest
Method Name: test_get_projects_keybase
Project Name: studioml/studio
Commit Name: 15660f000d3973fe1f71f41034dc42fc08103aad
Time: 2017-09-06
Author: peter.zhokhov@sentient.ai
File Name: studio/tests/model_test.py
Class Name: FirebaseProviderTest
Method Name: test_get_set_auth_firebase
Project Name: studioml/studio
Commit Name: 15660f000d3973fe1f71f41034dc42fc08103aad
Time: 2017-09-06
Author: peter.zhokhov@sentient.ai
File Name: studio/tests/model_test.py
Class Name: FirebaseProviderTest
Method Name: test_checkpoint_experiment
Project Name: studioml/studio
Commit Name: 15660f000d3973fe1f71f41034dc42fc08103aad
Time: 2017-09-06
Author: peter.zhokhov@sentient.ai
File Name: studio/tests/model_test.py
Class Name: FirebaseProviderTest
Method Name: test_finish_experiment
Project Name: studioml/studio
Commit Name: 15660f000d3973fe1f71f41034dc42fc08103aad
Time: 2017-09-06
Author: peter.zhokhov@sentient.ai
File Name: studio/tests/model_test.py
Class Name: FirebaseProviderTest
Method Name: test_get_set_firebase_bad
Project Name: studioml/studio
Commit Name: 15660f000d3973fe1f71f41034dc42fc08103aad
Time: 2017-09-06
Author: peter.zhokhov@sentient.ai
File Name: studio/tests/model_test.py
Class Name: FirebaseProviderTest
Method Name: test_get_set_firebase