def test_get_variables_with_filters(self, fetch_entity_mock):
        repo = RepoClient()
        filters = {'key': 'value', 'dataset': 'd_1'}
        repo.get_variables(filters)

        fetch_entity_mock.assert_called_once_with('datasets/d_1/variables',
                                                  {'key': 'value'})
    def test_get_variables_with_id(self, fetch_entity_mock):
        repo = RepoClient()
        filters = {'id': 'id_1'}
        repo.get_variables(filters)

        fetch_entity_mock.assert_called_once_with('variables/id_1')