コード例 #1
0
 def test_doesnt_detect_without_version_file(self):
     with temp_directory() as directory:
         self.assertFalse(VersionFileReleaser.detect())
コード例 #2
0
ファイル: test_bump_version.py プロジェクト: kylef/maintain
 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
ファイル: test_bump_version.py プロジェクト: kylef/maintain
 def test_detects_version_file(self):
     with temp_directory():
         touch('VERSION')
         self.assertTrue(VersionFileReleaser.detect())