Changeset 4520
- Timestamp:
- 04/20/09 18:42:12 (4 years ago)
- Files:
-
- 1 modified
-
branch/UMPA/tests/unit/test_packets.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branch/UMPA/tests/unit/test_packets.py
r4518 r4520 23 23 from umpa.protocols import IP, TCP, UDP, Payload 24 24 from umpa.utils.exceptions import UMPAException, UMPAStrictException 25 from umpa._packets import StrictWarning 25 26 26 27 import py.test … … 59 60 py.test.raises(UMPAStrictException, p.include, UDP(), TCP()) 60 61 62 def test_add_new_protocols__warn(self): 63 # TODO: how py.test handles with warnings? 64 py.test.skip('how py.test handles with warnings?') 65 p = Packet(strict=False) 66 py.test.raises(StrictWarning, "p.include(TCP(), IP())")
