Exemplo n.º 1
0
 def test_doesnt_detect_without_version_file(self):
     with temp_directory() as directory:
         self.assertFalse(VersionFileReleaser.detect())
Exemplo n.º 2
0
 def test_doesnt_detect_without_version_file(self):
     with temp_directory():
         self.assertFalse(VersionFileReleaser.detect())
Exemplo n.º 3
0
 def test_detects_version_file(self):
     with temp_directory() as directory:
         touch('VERSION')
         self.assertTrue(VersionFileReleaser.detect())
Exemplo n.º 4
0
 def test_detects_version_file(self):
     with temp_directory():
         touch('VERSION')
         self.assertTrue(VersionFileReleaser.detect())