Skip to content

Commit bb3b6a0

Browse files
committed
Add tests for mssql/base.py utility functions
- Add test_base.py with 45 tests covering: - encode_value() - encode_connection_string() - prepare_token_for_odbc() - handle_datetimeoffset() - DatabaseWrapper._is_driver_not_found_error() - Add extras_require[test] with unittest-xml-reporting for Python 3.12+
1 parent c20a4cb commit bb3b6a0

File tree

2 files changed

+473
-0
lines changed

2 files changed

+473
-0
lines changed

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@
4949
'pyodbc>=3.0',
5050
'pytz',
5151
],
52+
extras_require={
53+
'test': ['unittest-xml-reporting>=3.2.0'],
54+
},
5255
package_data={'mssql': ['regex_clr.dll']},
5356
classifiers=CLASSIFIERS,
5457
keywords='django',

0 commit comments

Comments
 (0)