Even more tests

pull/2/head
Raphaël Vinot 2015-10-27 16:51:03 +01:00
parent 5ccae98404
commit f7f7e3860a
3 changed files with 8 additions and 1 deletions

BIN
tests/src/blah.tar.bz2 Normal file

Binary file not shown.

1
tests/src2/blah.conf Normal file
View File

@ -0,0 +1 @@
This is a test.

View File

@ -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)