Commits

Jason R. Coombs committed 56d797f

Added test to capture app args

  • Participants
  • Parent commits 4c0b6fa

Comments (0)

Files changed (1)

File eggmonster/test/test_runner.py

         app, config = runner.FakeMonster.parse_args(['foo.bar',
             '--config-path', 'my config.yaml'])
         assert config == 'my config.yaml'
+
+    def test_parse_args_with_app_args(self):
+        app, config = runner.FakeMonster.parse_args(['foo.bar',
+            '--config-path', 'my config.yaml', 'a', 'b'])
+        assert app.args == ['a', 'b']