Make tests in test_webservice run
Previously the tests in test_webservice were not being run as its test directory was missing __init__.py. This patch also moves this file to congress/tests/api/ Change-Id: Ie816aac0762b31655ee6028ffdd1ae4050c407aa closes-bug: 1342957
This commit is contained in:
parent
828b80ce03
commit
2324db30f4
|
@ -16,7 +16,7 @@
|
|||
import unittest
|
||||
import uuid
|
||||
|
||||
import api.webservice as webservice
|
||||
from congress.api import webservice
|
||||
|
||||
|
||||
class TestSimpleDataModel(unittest.TestCase):
|
||||
|
@ -136,7 +136,3 @@ class TestSimpleDataModel(unittest.TestCase):
|
|||
with self.assertRaises(
|
||||
KeyError, msg="delete_item(unadded_id) raises KeyError"):
|
||||
model.delete_item(self.UNADDED_ID, context=context),
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
Loading…
Reference in New Issue