From 03712c9ccab28b3e0b01844e6d02ed8cce2322eb Mon Sep 17 00:00:00 2001 From: meejah Date: Thu, 5 Jul 2018 10:58:08 -0600 Subject: [PATCH] add docstrings --- src/allmydata/test/cli/test_start.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/allmydata/test/cli/test_start.py b/src/allmydata/test/cli/test_start.py index 01c8a1c60..99d4c7d33 100644 --- a/src/allmydata/test/cli/test_start.py +++ b/src/allmydata/test/cli/test_start.py @@ -211,6 +211,9 @@ class RunStartTests(unittest.TestCase): class RunTests(unittest.TestCase): + """ + Tests confirming end-user behavior of CLI commands + """ def setUp(self): d = super(RunTests, self).setUp() @@ -220,6 +223,10 @@ class RunTests(unittest.TestCase): @patch('twisted.internet.reactor') def test_run_invalid_config(self, reactor): + """ + Configuration that's invalid should be obvious to the user + """ + def cwr(fn, *args, **kw): fn() reactor.callWhenRunning = cwr