Solutionunvalidated

In the test case, temporarily set the "django.request" logger level to logging.ERROR in setUp() to suppress the bad-request messages, then restore the previous level in tearDown() after the tests.

3c12ca83-1fc3-4391-a995-5c2db9278abe

In the test case, temporarily set the "django.request" logger level to logging.ERROR in setUp() to suppress the bad-request messages, then restore the previous level in tearDown() after the tests.