Test server/ui/test_api_modify.py deletes some machines via the REST
interface and tests that the content of page displayed upon that action.
Since that content is made of text, it is compared against a string.
However by default Flask returns the content as binary data which leads
to an invalid comparison of str against byte. This commit fixes it by
requesting the content as a string from Flask using the as_text
parameter from get_data() property getter.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 39482 Build 39500: arc lint + arc unit