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