

def test_fixture_provider(self):
    provider = IndicatorsFixturesProvider()
    domain = Domain(call_center_config=CallCenterProperties(enabled=True, case_owner_id='bar', case_type='baz'))
    provider.call_center_config.use_fixtures = False
    self.assertTrue(provider._should_return_no_fixtures(domain, None))
    domain.call_center_config.use_fixtures = True
    self.assertFalse(provider._should_return_no_fixtures(domain, None))

dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/callcenter/tests/test_use_fixtures_configuration.py TestUseFixturesConfig.test_fixture_provider/VarMisuse@38/56 `domain`->`provider`