Add more assert calls for api test cases
Bug #1414829 reported by
Guangya Liu (Jay Lau)
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
Invalid
|
Wishlist
|
Deeksha Sachdeva |
Bug Description
This is a review comments from https:/
Changed in magnum: | |
importance: | Undecided → Wishlist |
Changed in magnum: | |
milestone: | none → mitaka-1 |
Changed in magnum: | |
assignee: | Jay Lau (jay-lau-513) → Deeksha Sachdeva (sachdevadeeksha5) |
Changed in magnum: | |
status: | Triaged → Invalid |
To post a comment you must log in.
Ya, I mean, I want to separate one test method to ideally contains one assert call.
for example:
Bad Pattern:
def test(): equals( a, b) equals( c, d)
assert_
assert_
Good Pattern:
def test_a_b(): equals( a, b)
assert_
def test_c_d(): equals( c, d)
assert_