Example #1
0
 def testPostSetupChecks(self):
     assert TFProfiler.post_setup_check()
Example #2
0
 def testPostSetupChecksFail(self):
     tf_profiler.environment_variables.cluster_spec = {}
     assert not TFProfiler.post_setup_check()