def test_rx_tx_dump(self):
        rx, tx = net_stat.rx_tx_bits(
            self.interface
        )
        rx, tx = map(int, (rx, tx))
        self.assertTrue(rx >= 0, rx)
        self.assertTrue(tx >= 0, tx)
dataset/ETHPy150Open cgoldberg/linux-metrics/linux_metrics/test_net_stat.py/TestNetworkStats.test_rx_tx_dump/original