Merge "Remove unused APICoverage class"

This commit is contained in:
Jenkins 2013-07-03 10:27:02 +00:00 committed by Gerrit Code Review
commit b2555e97c3
1 changed files with 0 additions and 15 deletions

View File

@ -220,21 +220,6 @@ class TestCase(testtools.TestCase):
return root
class APICoverage(object):
cover_api = None
def test_api_methods(self):
self.assertTrue(self.cover_api is not None)
api_methods = [x for x in dir(self.cover_api)
if not x.startswith('_')]
test_methods = [x[5:] for x in dir(self)
if x.startswith('test_')]
self.assertThat(
test_methods,
testtools.matchers.ContainsAll(api_methods))
class TimeOverride(fixtures.Fixture):
"""Fixture to start and remove time override."""