From 496a50a9995ba85c107e220a01b2a218a7267c6c Mon Sep 17 00:00:00 2001 From: Jon Bernard Date: Mon, 4 Jan 2016 05:37:06 -0500 Subject: Use click decorator for version option --- test_dotfiles.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'test_dotfiles.py') 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): -- cgit v1.2.3