mirror of
https://github.com/drewcassidy/yaclog.git
synced 2024-09-01 14:58:58 +00:00
Fix imports
I'll deuglify the code in a bit dont worry
This commit is contained in:
parent
5c379e2635
commit
21cb103cba
@ -4,8 +4,7 @@ import unittest
|
||||
import git
|
||||
from click.testing import CliRunner
|
||||
|
||||
import changelog
|
||||
import yaclog
|
||||
import yaclog.changelog
|
||||
from yaclog.cli.__main__ import cli
|
||||
|
||||
|
||||
@ -66,7 +65,7 @@ class TestTagging(unittest.TestCase):
|
||||
|
||||
with runner.isolated_filesystem():
|
||||
in_log = yaclog.Changelog(location)
|
||||
in_log.versions = [changelog.VersionEntry(), changelog.VersionEntry()]
|
||||
in_log.versions = [yaclog.changelog.VersionEntry(), yaclog.changelog.VersionEntry()]
|
||||
|
||||
in_log.versions[0].name = '1.0.0'
|
||||
in_log.versions[1].name = '0.9.0'
|
||||
@ -94,7 +93,7 @@ class TestTagging(unittest.TestCase):
|
||||
with runner.isolated_filesystem():
|
||||
in_log = yaclog.Changelog(location)
|
||||
in_log.versions = [None, None]
|
||||
in_log.versions = [changelog.VersionEntry(), changelog.VersionEntry()]
|
||||
in_log.versions = [yaclog.changelog.VersionEntry(), yaclog.changelog.VersionEntry()]
|
||||
|
||||
in_log.versions[0].name = '1.0.0'
|
||||
in_log.versions[0].tags = ['TAG1']
|
||||
|
Loading…
Reference in New Issue
Block a user