diff options
Diffstat (limited to 'vio')
-rw-r--r-- | vio/vio/tests/test_fake_nova_view.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vio/vio/tests/test_fake_nova_view.py b/vio/vio/tests/test_fake_nova_view.py index d9a8149..c1c725d 100644 --- a/vio/vio/tests/test_fake_nova_view.py +++ b/vio/vio/tests/test_fake_nova_view.py @@ -140,3 +140,13 @@ class TestFakeFlavorList(unittest.TestCase): } resp = self.view.get(req, "abcd") self.assertEqual(200, resp.status_code) + + +class TestFakeCapacity(unittest.TestCase): + + def setUp(self): + self.view = views.FakeCapacity() + + def test_get_capacity(self): + resp = self.view.post(mock.Mock()) + self.assertEqual(200, resp.status_code) |