def test_duplication_check(self):
    with pytest.raises(ValueError, match='Values of key_one param are duplicated. api_resource_configs contained key_one param in `query` config and key_one was also provided with arg to run_query\\(\\) method. Please remove duplicates.'):
        key_one = True
        _api_resource_configs_duplication_check('key_one', key_one, {'key_one': False})
    assert (_api_resource_configs_duplication_check('key_one', key_one, {'key_one': True}) is None)
def test_duplication_check(self):
    with pytest.raises(ValueError, match='Values of key_one param are duplicated. api_resource_configs contained key_one param in `query` config and key_one was also provided with arg to run_query\\(\\) method. Please remove duplicates.'):
        key_one = True
        _api_resource_configs_duplication_check('key_one', key_one, {'key_one': False})
    assert (_api_resource_configs_duplication_check('key_one', key_one, {'key_one': True}) is None)