# Path: ckanext/dcatapit/tests/utils.py
# def get_test_file(fname):
#     return os.path.join(os.path.dirname(__file__), 'files', fname)
# 
# SKOS_THEME_FILE = 'data-theme-skos.rdf'


import os
import pytest
import unittest
import ckanext.dcatapit.interfaces as interfaces
from ckanext.dcatapit.tests.utils import get_test_file, SKOS_THEME_FILE
        from ckanext.dcatapit.commands.vocabulary import load_from_file



class BaseCommandTest(unittest.TestCase):
    pass


class TestDCATAPITCommand(BaseCommandTest):

    @pytest.mark.usefixtures('with_request_context', 'clean_dcatapit_db')
    def test_vocabulary_command(self):


# Path: ckanext/dcatapit/tests/utils.py
# def get_test_file(fname):
#     return os.path.join(os.path.dirname(__file__), 'files', fname)
# 
# SKOS_THEME_FILE = 'data-theme-skos.rdf'


# Path: ckanext/dcatapit/tests/test_commands.py
import os
import pytest
import unittest
import ckanext.dcatapit.interfaces as interfaces
from ckanext.dcatapit.tests.utils import get_test_file, SKOS_THEME_FILE
        from ckanext.dcatapit.commands.vocabulary import load_from_file




class BaseCommandTest(unittest.TestCase):
    pass


class TestDCATAPITCommand(BaseCommandTest):

    @pytest.mark.usefixtures('with_request_context', 'clean_dcatapit_db')
    def test_vocabulary_command(self):


        vocab_file_path = get_test_file(SKOS_THEME_FILE)