Merge "Renamed test classes"
This commit is contained in:
commit
9ab2439729
@ -18,10 +18,10 @@ import json
|
||||
from surveil.tests.api import functionalTest
|
||||
|
||||
|
||||
class TestRootController(functionalTest.FunctionalTest):
|
||||
class TestCommandController(functionalTest.FunctionalTest):
|
||||
|
||||
def setUp(self):
|
||||
super(TestRootController, self).setUp()
|
||||
super(TestCommandController, self).setUp()
|
||||
self.commands = [
|
||||
{u"command_name": u"check_test1",
|
||||
u"command_line": u"/test/test1/test.py"},
|
||||
|
@ -15,7 +15,7 @@
|
||||
from surveil.tests.api import functionalTest
|
||||
|
||||
|
||||
class TestRootController(functionalTest.FunctionalTest):
|
||||
class TestHelloController(functionalTest.FunctionalTest):
|
||||
|
||||
def test_get(self):
|
||||
response = self.app.get('/v1/hello')
|
||||
|
@ -18,10 +18,10 @@ import json
|
||||
from surveil.tests.api import functionalTest
|
||||
|
||||
|
||||
class TestRootController(functionalTest.FunctionalTest):
|
||||
class TestHostController(functionalTest.FunctionalTest):
|
||||
|
||||
def setUp(self):
|
||||
super(TestRootController, self).setUp()
|
||||
super(TestHostController, self).setUp()
|
||||
self.hosts = [
|
||||
{
|
||||
"host_name": "bogus-router", "address": "192.168.1.254",
|
||||
|
Loading…
x
Reference in New Issue
Block a user