Open
Description
Brief description
###(039)=[failed] [MS-EERR] test show()
>>> with ContextManagerCaptureOutput() as cmco:
... pkt.show()
... result = cmco.get_output()
...
>>> EXPECTED = """# Extended Error Information
... PID: 960 - 18/09/2023 12:33:50.167234 (1695040430)
... | ComputerName: DC1\x00
... | Generating Component: Runtime
... | Status: 1825
... | DetectionLocation: OSF_SCALL__DoSecurityCallbackAndAccessCheck
... | Flags 0
... | Params: [('eeptiLongVal', 2583494340)]
... PID: 960 - 18/09/2023 12:33:50.151428 (1695040430)
... | Generating Component: Security Provider
... | Status: STATUS_SUCCESS
... | DetectionLocation: AcceptThirdLeg10
... | Flags 0
... | Params: [('eeptiLongVal', 10), ('eeptiLongVal', 6), ('eeptiLongVal', 1825)]
... """
>>>
>>> result
"# Extended Error Information\nPID: 960 - 18/09/2023 12:33:50.167234 (1695040430)\n | ComputerName: 䐀䌀\u3100\x00\n | Generating Component: Runtime\n | Status: 1825\n | DetectionLocation: OSF_SCALL__DoSecurityCallbackAndAccessCheck\n | Flags 0\n | Params: [('eeptiLongVal', 2583494340)]\nPID: 960 - 18/09/2023 12:33:50.151428 (1695040430)\n | Generating Component: Security Provider\n | Status: STATUS_SUCCESS\n | DetectionLocation: AcceptThirdLeg10\n | Flags 0\n | Params: [('eeptiLongVal', 10), ('eeptiLongVal', 6), ('eeptiLongVal', 1825)]\n"
>>> assert result.strip() == EXPECTED.strip()
AssertionError
Scapy version
Python version
3.13.5-1
Operating system
Fedora 42
Additional environment information
No response
How to reproduce
It can be reproduced by triggering a Packit job.
Actual result
No response
Expected result
No response
Related resources
No response
Metadata
Metadata
Assignees
Labels
No labels