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