Exemple #1
0
    def test_import_supplier(self):
        " Test import_supplier command."

        args = ['modeling/suppliers.csv']
        opts = {}
        call_command('import_supplier', *args, **opts)
Exemple #2
0
    def test_schema_import(self):
        " Test schema_import command."

        args = ['modeling/schema.json']
        opts = {}
        call_command('schema_import', *args, **opts)
Exemple #3
0
    def test_import_roomtype(self):
        " Test import_roomtype command."

        args = ['modeling/roomtypes.csv']
        opts = {}
        call_command('import_roomtype', *args, **opts)
Exemple #4
0
    def test_import_market(self):
        " Test import_market command."

        args = ['modeling/markets.csv']
        opts = {}
        call_command('import_market', *args, **opts)
Exemple #5
0
    def test_import_hotel(self):
        " Test import_hotel command."

        args = ['modeling/hotels.csv']
        opts = {}
        call_command('import_hotel', *args, **opts)
Exemple #6
0
    def test_import_board(self):
        " Test import_board command."

        args = ['modeling/boards.csv']
        opts = {}
        call_command('import_board', *args, **opts)
Exemple #7
0
    def test_import_airport(self):
        " Test import_airport command."

        args = ['modeling/airports.csv']
        opts = {}
        call_command('import_airport', *args, **opts)