Guest User

Untitled

a guest
Oct 19th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. F
  2. test_add_group.py:18 (test_add_group[None:NameFJEPBs1 :headerLSI:footer NCAoKL4c])
  3. [417:Named:Non...one:None, ...] != [417:Named:No...one:None, ...]
  4.  
  5. Expected :[417:Named:No...one:None, ...]
  6. Actual :[417:Named:Non...one:None, ...]
  7. <Click to see difference>
  8.  
  9. app = <fixture.application.Application object at 0x03CC5430>
  10. group = None:NameFJEPBs1 :headerLSI:footer NCAoKL4c
  11.  
  12. @pytest.mark.parametrize('group', testdata, ids=[repr(x) for x in testdata])
  13. def test_add_group(app, group):
  14. old_groups = app.group.get_group_list()
  15. app.group.create(group)
  16. assert len(old_groups) + 1 == app.group.count()
  17. new_groups = app.group.get_group_list()
  18. old_groups.append(group)
  19. > assert sorted(old_groups, key=Group.id_or_max) == sorted(new_groups, key=Group.id_or_max)
  20. E assert [417:Named:No...one:None, ...] == [417:Named:Non...one:None, ...]
  21. E At index 28 diff: None:NameFJEPBs1 :headerLSI:footer NCAoKL4c != 446:NameFJEPBs1:None:None
  22. E Use -v to get the full diff
  23.  
  24. test_add_group.py:26: AssertionError
Add Comment
Please, Sign In to add comment