Skip to content

Commit

Permalink
Merge pull request #396 from dbt-msft/fix-empty-lines-batch-sizes-tests
Browse files Browse the repository at this point in the history
fix empty lines in batch sizes tests
  • Loading branch information
sdebruyn authored May 21, 2023
2 parents b5ac6c1 + a2542a8 commit 78a661e
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions tests/functional/adapter/test_seed.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,10 @@ class TestSeedBatchSizeMaxSQLServer(SeedConfigBase):
@pytest.fixture(scope="class")
def seeds(self, test_data_dir):
return {
"five_columns.csv": """
seed_id,first_name,email,ip_address,birthday
"five_columns.csv": """seed_id,first_name,email,ip_address,birthday
1,Larry,lking0@miitbeian.gov.cn,69.135.206.194,2008-09-12 19:08:31
2,Larry,lperkins1@toplist.cz,64.210.133.162,1978-05-09 04:15:14
3,Anna,amontgomery2@miitbeian.gov.cn,168.104.64.114,2011-10-16 04:07:57
"""
3,Anna,amontgomery2@miitbeian.gov.cn,168.104.64.114,2011-10-16 04:07:57"""
}

def test_max_batch_size(self, project, logs_dir):
Expand All @@ -209,12 +207,10 @@ class TestSeedBatchSizeCustomSQLServer(SeedConfigBase):
@pytest.fixture(scope="class")
def seeds(self, test_data_dir):
return {
"six_columns.csv": """
seed_id,first_name,last_name,email,ip_address,birthday
"six_columns.csv": """seed_id,first_name,last_name,email,ip_address,birthday
1,Larry,King,lking0@miitbeian.gov.cn,69.135.206.194,2008-09-12 19:08:31
2,Larry,Perkins,lperkins1@toplist.cz,64.210.133.162,1978-05-09 04:15:14
3,Anna,Montgomery,amontgomery2@miitbeian.gov.cn,168.104.64.114,2011-10-16 04:07:57
"""
3,Anna,Montgomery,amontgomery2@miitbeian.gov.cn,168.104.64.114,2011-10-16 04:07:57"""
}

def test_custom_batch_size(self, project, logs_dir):
Expand Down

0 comments on commit 78a661e

Please sign in to comment.