diff options
-rw-r--r-- | docs/source/testing.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/source/testing.rst b/docs/source/testing.rst index 1ddf5e5..1191bec 100644 --- a/docs/source/testing.rst +++ b/docs/source/testing.rst @@ -23,13 +23,13 @@ following example:: class testGreeter(hazwaz.unittest.HazwazTestCase): def test_greet_world(self): - cmd = greeter.Greet() - stream = self.run_with_argv(cmd, [ - "./greeter.py", - "world", - ]) - - self.assertEqual( + cmd = greeter.Greet() + stream = self.run_with_argv(cmd, [ + "./greeter.py", + "world", + ]) + + self.assertEqual( stream["stdout"].getvalue(), "Hello world!\n" ) |