Skip to content

Commit

Permalink
re #33 fixing broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
lowks committed Jun 20, 2013
1 parent fcdf93b commit 6cbf2cf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/unit/test_dirs.py
Expand Up @@ -11,6 +11,8 @@ def create_workspace(self, tmpdir):
self.temp = tmpdir
self.core_dirs = inupypi.core.Dirs(self.temp.strpath)
self.dirs = ['dir1', 'dir2', 'dir3', 'dir4']
self.abs_dirs = [tmpdir.join(dir) for dir in
self.dirs]

def test_class_instance(self):
assert(isinstance(self.core_dirs, inupypi.core.Dirs))
Expand All @@ -24,4 +26,5 @@ def test_dir_contents(self):
self.core_dirs = inupypi.core.Dirs(self.temp.strpath)

assert(self.core_dirs.__parents__ == self.temp.strpath)
for dir_ in self.abs_dirs:
assert(dir_ in self.core_dirs.__contents__)

0 comments on commit 6cbf2cf

Please sign in to comment.