def assert_flag_equal(a, b, attrs=['<STR_LIT:name>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT:version>']):
assert_segmentlist_equal(a.active, b.active)<EOL>assert_segmentlist_equal(a.known, b.known)<EOL>for attr in attrs:<EOL><INDENT>assert getattr(a, attr) == getattr(b, attr)<EOL><DEDENT>
Assert that two `DataQualityFlag`s contain the same data