Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve readability of test_networks
* Use list comprehension where it makes sense. * Remove redundant assertions. That is, assertions in some tests that are really the responsibility of another test. For example, checking if a given network id is present in a list was being checked in both test_list_networks and test_list_networks_fields. * Create assertEmpty and assertNotEmpty methods to help further clarify the intent of certain assertions. Change-Id: Id91b2d2b6699eaf4acc332b3e76f9cb46c09d7c7
- Loading branch information
1 parent
2ea277d
commit 5885eb3
Showing
2 changed files
with
86 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.