summaryrefslogtreecommitdiff
path: root/tests/test_climat2.py
diff options
context:
space:
mode:
authorjvoisin2018-04-14 21:23:31 +0200
committerjvoisin2018-04-14 21:23:31 +0200
commit96299c6a5350f59eab022a09400eddcc347daede (patch)
tree492df3a7637b2d1cb45424615ab2777043043eab /tests/test_climat2.py
parent6f4ed2490fbcde0b74e7b8251ad71e29b430b8ef (diff)
Add lightweight processing for PDF
Diffstat (limited to 'tests/test_climat2.py')
-rw-r--r--tests/test_climat2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_climat2.py b/tests/test_climat2.py
index b9c52b5..64345eb 100644
--- a/tests/test_climat2.py
+++ b/tests/test_climat2.py
@@ -6,12 +6,12 @@ class TestHelp(unittest.TestCase):
6 def test_help(self): 6 def test_help(self):
7 proc = subprocess.Popen(['./main.py', '--help'], stdout=subprocess.PIPE) 7 proc = subprocess.Popen(['./main.py', '--help'], stdout=subprocess.PIPE)
8 stdout, _ = proc.communicate() 8 stdout, _ = proc.communicate()
9 self.assertIn(b'usage: main.py [-h] [-c] [-l] [-s] [files [files ...]]', stdout) 9 self.assertIn(b'usage: main.py [-h] [-c] [-l] [-s] [-L] [files [files ...]]', stdout)
10 10
11 def test_no_arg(self): 11 def test_no_arg(self):
12 proc = subprocess.Popen(['./main.py'], stdout=subprocess.PIPE) 12 proc = subprocess.Popen(['./main.py'], stdout=subprocess.PIPE)
13 stdout, _ = proc.communicate() 13 stdout, _ = proc.communicate()
14 self.assertIn(b'usage: main.py [-h] [-c] [-l] [-s] [files [files ...]]', stdout) 14 self.assertIn(b'usage: main.py [-h] [-c] [-l] [-s] [-L] [files [files ...]]', stdout)
15 15
16 16
17class TestGetMeta(unittest.TestCase): 17class TestGetMeta(unittest.TestCase):