Commit 7de86d8
committed
Fix integration tests to use new type API
Updated test files to use instantiated types with protocol_version:
- test_custom_protocol_handler.py: Changed ctype.from_binary(val, protocol_version)
to ctype(protocol_version).from_binary(val)
- test_loadbalancingpolicies.py: Changed Int32Type.serialize(i, protocol_version)
to Int32Type(protocol_version).serialize(i)
These tests were still using the old API where protocol_version was passed
as a parameter rather than using type instances.1 parent 41d6adf commit 7de86d8
File tree
2 files changed
+2
-2
lines changed- tests/integration
- long
- standard
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
633 | 633 | | |
634 | 634 | | |
635 | 635 | | |
636 | | - | |
| 636 | + | |
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| |||
0 commit comments