示例#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())