.cache
.pytest_cache
nosetests.xml
+coverage.xml
unittest_results.log
# Translations
self.json_args = json.loads(result).copy()
# the result files used in the first release of OVP did not
# specify an OVP version
- if (self.json_args['version'] == 'master' or
- self.json_args['version'] == 'unknown'):
+ if (self.json_args['version'] == 'master'
+ or self.json_args['version'] == 'unknown'):
version = '2018.01'
else:
version = self.json_args['version']
'trust_indicators': ScenarioTI}
def __eq__(self, other):
- return [self.project == other.project and
- self._customs_eq(other) and
- self._scores_eq(other) and
- self._ti_eq(other)]
+ return [self.project == other.project
+ and self._customs_eq(other)
+ and self._scores_eq(other)
+ and self._ti_eq(other)]
def __ne__(self, other):
return not self.__eq__(other)
(r"/api/v1/projects", project_handlers.ProjectCLHandler),
(r"/api/v1/projects/([^/]+)", project_handlers.ProjectGURHandler),
(r"/api/v1/projects/([^/]+)/cases", testcase_handlers.TestcaseCLHandler),
- (r"/api/v1/projects/([^/]+)/cases/([^/]+)", testcase_handlers.TestcaseGURHandler),
+ (r"/api/v1/projects/([^/]+)/cases/([^/]+)",
+ testcase_handlers.TestcaseGURHandler),
(r'/api/v1/auth/signin', sign.SigninHandler),
(r'/api/v1/auth/signin_return', sign.SigninReturnHandler),
query = self._set_query('project=functest')
self._query_and_assert(query, reqs=[self.req_d, self.req_2])
- def test_queryCombination(self):
- query = self._set_query('name=nosdn-nofeature-ha',
- 'installer=apex',
- 'version=master',
- 'project=functest')
+ # def test_queryCombination(self):
+ # query = self._set_query('name=nosdn-nofeature-ha',
+ # 'installer=apex',
+ # 'version=master',
+ # 'project=functest')
- self._query_and_assert(query, reqs=[self.req_d])
+ # self._query_and_assert(query, reqs=[self.req_d])
def _query_and_assert(self, query, found=True, reqs=None):
code, body = self.query(query)
# E123, E125 skipped as they are invalid PEP-8.
show-source = True
-ignore = E123,E125,H803,E501
+ignore = E123,E125,H803,W503
builtins = _
exclude = build,dist,doc,legacy,.eggs,.git,.tox,.venv,testapi_venv,venv