Skip to content

Commit

Permalink
Set version to 0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
flaeppe committed Oct 11, 2021
1 parent 603f9d8 commit 21397ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion access_guard/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1"
__version__ = "0.0.1"
3 changes: 2 additions & 1 deletion access_guard/tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from aiosmtplib.errors import SMTPException

from .. import cli
from ..__version__ import __version__

mock_load_environ = mock.patch("access_guard.environ.environ.load", autospec=True)
mock_run_server = mock.patch("access_guard.server.run", autospec=True)
Expand Down Expand Up @@ -75,7 +76,7 @@ def test_version_from(argv: list[str]) -> None:

run_server.assert_not_called()
assert cm.value.code == 0
assert "access-guard 0.1" in stdout.getvalue()
assert f"access-guard {__version__}" in stdout.getvalue()


@pytest.mark.parametrize(
Expand Down

0 comments on commit 21397ff

Please sign in to comment.