Commit 0d6fbe5166357cb7a084f6c7a9bbc92ec70002ea
1 parent
eeaff963
Exists in
master
Add better test coverage
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
tests/test_files.py
... | ... | @@ -20,7 +20,7 @@ class PireneaFilesTestCase(unittest.TestCase): |
20 | 20 | def setUp(self): |
21 | 21 | """Called before test case.""" |
22 | 22 | self.bad_prefix = "P3" |
23 | - self.nonexist = "PIRENEA_DATA" | |
23 | + self.nonexist = "trugludu" | |
24 | 24 | |
25 | 25 | def test_check_input(self): |
26 | 26 | """Wrong directory.""" |
... | ... | @@ -42,7 +42,7 @@ class PireneaFilesTestCase(unittest.TestCase): |
42 | 42 | self.pirenea = PireneaFiles(tmpdirname) |
43 | 43 | self.pirenea.add_prefix("P0") |
44 | 44 | self.pirenea.remove_prefix("P0") |
45 | - """Check if temporary file ft is unchanged""" | |
45 | + """Check if temporary file tf is unchanged""" | |
46 | 46 | self.assertTrue(os.path.isfile(tf.name)) |
47 | 47 | |
48 | 48 | |
... | ... |