diff --git a/tests/src/blah.tar.bz2 b/tests/src/blah.tar.bz2 new file mode 100644 index 0000000..4aeb2cd Binary files /dev/null and b/tests/src/blah.tar.bz2 differ diff --git a/tests/src2/blah.conf b/tests/src2/blah.conf new file mode 100644 index 0000000..484ba93 --- /dev/null +++ b/tests/src2/blah.conf @@ -0,0 +1 @@ +This is a test. diff --git a/tests/test.py b/tests/test.py index d457c26..dc152d7 100644 --- a/tests/test.py +++ b/tests/test.py @@ -17,7 +17,13 @@ class TestBasic(unittest.TestCase): self.maxDiff = None self.curpath = os.getcwd() - def test_specific(self): + def test_specific_valid(self): + src = os.path.join(self.curpath, 'tests/src2') + dst = os.path.join(self.curpath, 'tests/dst') + spec = KittenGroomerSpec(src, dst) + spec.processdir() + + def test_specific_invalid(self): src = os.path.join(self.curpath, 'tests/src') dst = os.path.join(self.curpath, 'tests/dst') spec = KittenGroomerSpec(src, dst)