(self)
| 75 | self.assertFalse(self.environment.deployment_branch_policy.custom_branch_policies) |
| 76 | |
| 77 | def testLazyAttributes(self): |
| 78 | env = self.g.withLazy(True).get_repo("lazy/repo").get_environment("the env") |
| 79 | self.assertEqual(str(env), 'Environment(name="the env")') |
| 80 | self.assertEqual(env.name, "the env") |
| 81 | self.assertEqual(env.url, "/repos/lazy/repo/environments/the%20env") |
| 82 | |
| 83 | def testProtectionRules(self): |
| 84 | protection_rules = self.environment.protection_rules |
nothing calls this directly
no test coverage detected