def test_send_list_metric_value_timestamp_default_2(self):
        graphite_instance = graphitesend.init(prefix='test', system_name='foo')
        # Make sure it can handle custom timestamp, fill in the missing with
        # the current time.
        (c, addr) = self.server.accept()
        response = graphite_instance.send_list(
            [
                ('metric', 1),
                ('metric', 2, 2),
            ],
            timestamp='4'
        )
        # self.assertEqual('sent 69 long message:' in response, True)
        self.assertEqual('test.foo.metric 1.000000 4' in response, True)
        self.assertEqual('test.foo.metric 2.000000 2' in response, True)
        sent_on_socket = c.recv(69)
        self.assertEqual('test.foo.metric 1.000000 4' in sent_on_socket, True)
        self.assertEqual(sent_on_socket in 'test.foo.metric 2.000000 2', True)
        # self.server.shutdown(socket.SHUT_RD)
        # self.server.close()
dataset/ETHPy150Open daniellawrence/graphitesend/tests/test_all.py/TestAll.test_send_list_metric_value_timestamp_default_2/swapped operands of `in`