def test_null_table_name(self, temp_dir_path, value, expected): with pytest.raises(expected): make_temp_file_path_from_url(temp_dir_path, value)
def test_normal(self, temp_dir_path, value, expected): assert make_temp_file_path_from_url(temp_dir_path, value) == expected