aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/tests/unit/network_services/test_yang_model.py
AgeCommit message (Collapse)AuthorFilesLines
2018-06-13assert[Greater,Equal] -> assert_{,not_}calledEmma Foley1-4/+4
assertEqual(mock_xxx.call_count, 1) -> mock_xxx.assert_called_once assertEqual(mock_xxx.call_count, 0) -> mock_xxx.assert_not_called assertGreater(mock.call_count, 0) -> mock.assert_called() assertGreaterEqual(mock.call_count, 1) -> mock.assert_called() JIRA: YARDSTICK-1069 Change-Id: I890084d120c8e78304e169e2a0e5d30011a41525 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-05-02Move tests: unit/network_services/{lib/,collector/,*.py}Emma Foley1-0/+129
* Fix pylint errors * Add TODOs Some errors are ignored locally, as they were a symptom of other problems. These issues have been flagged with a TODO, and should be fixed later. JIRA: YARDSTICK-837 Signed-off-by: Emma Foley <emma.l.foley@intel.com> Change-Id: Idc2e70291b6d9b4cf7e7249a10c4a290b999206c