Beispiel #1
0
 def test_argparser_valid_data_source(self):
     args = parse_args(['-s', 'specific/path/to/data.csv'])
     assert args['data'] == 'specific/path/to/data.csv'
Beispiel #2
0
 def test_argparser_valid_database_long(self):
     args = parse_args(['--database', 'specific/path/to/database.db'])
     assert args['database'] == 'specific/path/to/database.db'
Beispiel #3
0
 def test_argparser_default_data_source(self):
     args = parse_args()
     assert args['data'] == 'lake/wine_quality/winequality.csv'
Beispiel #4
0
 def test_argparser_default_output_database(self):
     args = parse_args()
     assert args['database'] == 'lake/warehouse.db'