diff options
Diffstat (limited to 'tests/events_test.py')
-rw-r--r-- | tests/events_test.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/events_test.py b/tests/events_test.py index d754d44..bef6423 100644 --- a/tests/events_test.py +++ b/tests/events_test.py @@ -228,6 +228,15 @@ class TestEvents(object): assert not silo.stale(self.lorem_ipsum) + def test_NDM_numnodes(self): + """Tests whether the NodeDirMonitor's num_nodes variable has the + right value. + + """ + nmonitor = NodeDirMonitor(self.config, self.silo_lock) + assert_equal(2, nmonitor.num_nodes) + + def test_NDM(self): """ Tests the NodeDirMonitor class. |