Using `self.assertNotIn` would be better here, but you'll have to rename the first argument of `push` to something else so that `self` refers to the `TestCase` instance and not the `DummyContext` one.