Skip to content

Commit b7234a3

Browse files
committed
Reaching 100% of test coverage
1 parent f100749 commit b7234a3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

awswrangler/catalog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ def databases(
459459
df_dict["Database"].append(db["Name"])
460460
if "Description" in db:
461461
df_dict["Description"].append(db["Description"])
462-
else:
462+
else: # pragma: no cover
463463
df_dict["Description"].append("")
464464
return pd.DataFrame(data=df_dict)
465465

testing/test_awswrangler/test_data_lake.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ def test_parquet(bucket):
243243
assert len(wr.s3.read_parquet(path=[path_file], use_threads=False, boto3_session=boto3.Session()).index) == 3
244244
paths = wr.s3.to_parquet(df=df_dataset, path=path_dataset, dataset=True)["paths"]
245245
wr.s3.wait_objects_exist(paths=paths)
246+
assert len(wr.s3.read_parquet(path=paths, dataset=True).index) == 3
246247
assert len(wr.s3.read_parquet(path=path_dataset, use_threads=True, boto3_session=boto3.Session()).index) == 3
247248
dataset_paths = wr.s3.to_parquet(
248249
df=df_dataset, path=path_dataset, dataset=True, partition_cols=["partition"], mode="overwrite"

0 commit comments

Comments
 (0)