diff options
author | Jon Bernard <jbernard@tuxion.com> | 2016-01-04 05:37:06 -0500 |
---|---|---|
committer | Jon Bernard <jbernard@tuxion.com> | 2016-01-04 05:39:19 -0500 |
commit | 496a50a9995ba85c107e220a01b2a218a7267c6c (patch) | |
tree | 962d13becda341c2a667d4da0aef6bd888f03314 /test_dotfiles.py | |
parent | f216646d2e824af726a7cd0d4d881577ea6dd0d8 (diff) | |
download | dotfiles-496a50a9995ba85c107e220a01b2a218a7267c6c.tar.gz dotfiles-496a50a9995ba85c107e220a01b2a218a7267c6c.tar.bz2 dotfiles-496a50a9995ba85c107e220a01b2a218a7267c6c.zip |
Use click decorator for version option
Diffstat (limited to 'test_dotfiles.py')
-rw-r--r-- | test_dotfiles.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test_dotfiles.py b/test_dotfiles.py index 371b66e..db63632 100644 --- a/test_dotfiles.py +++ b/test_dotfiles.py @@ -1,7 +1,6 @@ import py import pytest -from dotfiles import __version__ from dotfiles import cli, unique_suffix from dotfiles import Repository, Dotfile @@ -60,11 +59,6 @@ class TestCli(object): def test_staus(self): pass - def test_version(self, runner): - result = runner.invoke(cli, ['version']) - assert not result.exception - assert result.output == 'dotfiles version %s\n' % __version__ - class TestRepository(object): |