lua: add support for ethernet addresses to the Address class
[metze/wireshark/wip.git] / test / suite_dfilter / group_bytes_type.py
1 # Copyright (c) 2013 by Gilbert Ramirez <gram@alumni.rice.edu>
2 #
3 # SPDX-License-Identifier: GPL-2.0-or-later
4
5 from suite_dfilter import dfiltertest
6
7 class case_bytes_type(dfiltertest.DFTestCase):
8     trace_file = "arp.pcap"
9
10     def test_bytes_1(self):
11         dfilter = "arp.dst.hw == 00:64"
12         self.assertDFilterCount(dfilter, 1)
13
14     def test_ipv6_2(self):
15         dfilter = "arp.dst.hw == 00:00"
16         self.assertDFilterCount(dfilter, 0)