Ejemplo n.º 1
0
    def test_import_supplier(self):
        " Test import_supplier command."

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

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

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

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

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

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

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