From 5c3c91c43e12b40a618ad471ba24950d5b6d1ea0 Mon Sep 17 00:00:00 2001 From: Jon Bernard Date: Sun, 3 Jan 2016 15:01:40 -0500 Subject: Consolidate tests into a single file --- tests/test_cli_orig.py | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 tests/test_cli_orig.py (limited to 'tests/test_cli_orig.py') diff --git a/tests/test_cli_orig.py b/tests/test_cli_orig.py deleted file mode 100644 index 58872e3..0000000 --- a/tests/test_cli_orig.py +++ /dev/null @@ -1,16 +0,0 @@ -from dotfiles.cli_orig import dispatch - - -def test_dispatch(): - """Test that the force option is handed on to the sync method.""" - - class MockDotfiles: - def sync(self, files=None, force=False): - assert force - - class MockNamespace: - def __init__(self): - self.action = 'sync' - self.force = True - - dispatch(MockDotfiles(), MockNamespace(), []) -- cgit v1.2.3