Request object was mocked but mocked value was never assigned. In py2 moked object call is always successful. But in py3 if value is not properly assigned it returns None. Causing the test to fail. Removing the mocked object also fails the test so removing it as broken test.