def test_check_error_finding_nonexistent_project(self): BAD_UUID = 'zzzzz-zzzzz-zzzzzzzzzzzzzzz' try: result = arv_put.check_project_exists(BAD_UUID) except ValueError as error: self.assertIn(BAD_UUID, error.message) else: self.assertFalse(result, "incorrectly found nonexistent project")
def test_check_real_project_found(self): self.assertTrue(arv_put.check_project_exists(self.PROJECT_UUID), "did not correctly find test fixture project")