def test_determine_current_version(self): releaser = VersionFileReleaser() with temp_directory() as directory: touch('VERSION', '0.2.6') version = releaser.determine_current_version() self.assertEqual(version, Version('0.2.6'))
def test_determine_current_version(self): releaser = VersionFileReleaser() with temp_directory(): touch('VERSION', '0.2.6') version = releaser.determine_current_version() self.assertEqual(version, Version('0.2.6'))