def test_exists_after_create(self): uut = LocalProjectCheckout(self.local_url, self.checkouts_dir, "-project-") uut.create() assert uut.exists()
def test_not_exists_empty(self): uut = LocalProjectCheckout(self.local_url, self.checkouts_dir, "-project-") os.makedirs(uut.checkout_dir) assert not uut.exists()
def test_not_exists(self): uut = LocalProjectCheckout(self.local_url, self.checkouts_dir, "-project-") assert not uut.exists()