The failure observed in the description of this bug happens even before hitting the last three lines of the test. So there are several problems in the test. I think the first one should be rather easy to address, by replacing self.assertEquals(…, True) with self.assertThat(…, Eventually(Equals(True))).
The failure observed in the description of this bug happens even before hitting the last three lines of the test. So there are several problems in the test. I think the first one should be rather easy to address, by replacing self.assertEqua ls(…, True) with self.assertThat(…, Eventually( Equals( True))) .