def test_is_active_inactive_state(self, state): metadata = Metadata() metadata.activate(state.context) assert metadata.is_active(state) is False