Esempio n. 1
0
 def test_declarations_checks_is_managed(self):
     settings.IS_MANAGED = False
     with self.assertRaises(PolyaxonClientException):
         Experiment.get_declarations()
Esempio n. 2
0
 def test_declarations_checks_in_cluster(self):
     settings.IN_CLUSTER = False
     with self.assertRaises(PolyaxonClientException):
         Experiment.get_declarations()