diff --git a/tests/__init__.py b/tests/__init__.py index 5c57da1..68b692c 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -84,6 +84,7 @@ class Modeltests(unittest.TestCase): """ Set up the environnment, ran before every tests. """ # Clean up eventual git repo left in the present folder. for filename in os.listdir(HERE): + filename = os.path.join(HERE, filename) if filename.endswith('.git') and os.path.isdir(filename): print '**', filename shutil.rmtree(filename)