diff options
author | Emma Foley <emma.l.foley@intel.com> | 2017-12-19 15:44:11 +0000 |
---|---|---|
committer | Emma Foley <emma.l.foley@intel.com> | 2018-01-12 14:45:53 +0000 |
commit | 2f2ee2293ffdf2969d36ad1ac73eb5cc90dd308a (patch) | |
tree | faf606ce577301e84414112949a8f736982e695e /api | |
parent | d579e62b431a31856a03098dc5323948ccfa4fdb (diff) |
Use assertIn(x, y) instead of other variations
unittest.assertIn(x,y) should be used instead of:
* unittest.assertTrue(x in y)
* unittest.assertEqual(x in y, True)
Also fixes pep8 violations existing in the file.
Change-Id: I705c1bd4af74757b5c928995894aede436d66817
JIRA: YARDSTICK-901
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions