diff options
| author | Bob Halley <halley@dnspython.org> | 2020-08-04 06:48:09 -0700 |
|---|---|---|
| committer | Bob Halley <halley@dnspython.org> | 2020-08-04 06:48:09 -0700 |
| commit | 3aa0379a50c75647320edc9db190b4f27fb3c269 (patch) | |
| tree | a5f75fd35f677a7d12c909a5b0d3422112569efb /tests | |
| parent | 224dd115771dc0bc90e4fe1b9e5f824a400c6317 (diff) | |
| download | dnspython-3aa0379a50c75647320edc9db190b4f27fb3c269.tar.gz | |
fix loc version not zero test
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_rdata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_rdata.py b/tests/test_rdata.py index 31b5a85..0c98760 100644 --- a/tests/test_rdata.py +++ b/tests/test_rdata.py @@ -375,7 +375,7 @@ class RdataTestCase(unittest.TestCase): dns.rdata.from_wire(dns.rdataclass.IN, dns.rdatatype.LOC, wire, 0, len(wire)) with self.assertRaises(dns.exception.FormError): - wire = b'\x01' + wire = struct.pack('!BBBBIII', 1, 0, 0, 0, 0, 0, 0) dns.rdata.from_wire(dns.rdataclass.IN, dns.rdatatype.LOC, wire, 0, len(wire)) |
