Skip to content
Snippets Groups Projects

Introduced log file option

Merged Adham Hashibon requested to merge add-logging-file into master
1 file
+ 4
4
Compare changes
  • Side-by-side
  • Inline
@@ -43,16 +43,16 @@ class TestExecution(unittest.TestCase):
with self.assertRaises(subprocess.CalledProcessError):
subprocess.check_call(
["force_bdss", "test_csv_v2.json"],
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL)
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL)
def test_corrupted_file_input(self):
with cd(fixtures.dirpath()):
with self.assertRaises(subprocess.CalledProcessError):
subprocess.check_call(
["force_bdss", "test_csv_corrupted.json"],
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL)
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL)
if __name__ == '__main__':
Loading