def test_WHEN_banch_begins_contains_nd_THEN_branch_allowed(self): self.assertTrue(GitVersionControl.branch_allowed("testNDtest"))
def test_WHEN_banch_is_machine_name_THEN_branch_allowed(self): self.assertTrue(GitVersionControl.branch_allowed(socket.gethostname()))
def test_WHEN_banch_begins_with_nd_THEN_branch_not_allowed(self): self.assertFalse(GitVersionControl.branch_allowed("NDTEST"))
def test_WHEN_banch_is_master_THEN_branch_not_allowed(self): self.assertFalse(GitVersionControl.branch_allowed("master"))