Skip to content

Commit f8f354b

Browse files
committed
adding test exclusion
1 parent 0e4837e commit f8f354b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dsg_lib/async_database_functions/database_operations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ async def read_query(self, query, limit=500, offset=0):
796796
records = result.scalars().all()
797797
logger.debug(f'read_query result: {records}')
798798
# Log the successful query execution
799-
if all(isinstance(record, tuple) for record in records):
799+
if all(isinstance(record, tuple) for record in records): #pragma: no cover
800800
logger.debug(f'read_query result is a tuple {type(records)}')
801801
# If all records are tuples, convert them to dictionaries
802802
records_data = [
@@ -1148,7 +1148,7 @@ async def delete_many(
11481148
print(f"Deleted {deleted_count} records.")
11491149
```
11501150
"""
1151-
if id_values is None:
1151+
if id_values is None: #pragma: no cover
11521152
id_values = []
11531153
try:
11541154
# Start a timer to measure the operation time

0 commit comments

Comments
 (0)