X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=tests%2Ftest_motion.py;h=1bc65858461318e377cf8660479502895cf80cff;hb=66a7e727089249cd3eeea99c2aead5fb6a9550ce;hp=86d69feffb85225be2f60882af14034efd9da82d;hpb=a96ee100bf39a3c04a500707084222fec45a8b06;p=motion.git diff --git a/tests/test_motion.py b/tests/test_motion.py index 86d69fe..1bc6585 100644 --- a/tests/test_motion.py +++ b/tests/test_motion.py @@ -139,7 +139,7 @@ class GeneralTests(BasicTest): def test_basic_results_data_details(self): motion='g1.20200402.002' result = self.app.get('/motion/' + motion, environ_base={'USER_ROLES': user}, follow_redirects=True) - testtext= '

A second motion

\n \n\nBack\n' + testtext= '

A second motion

\n \n\nBack' self.assertIn(str.encode(testtext), result.data) def test_vote(self):