예제 #1
0
    def test_serialize_with_sequence(self):
        resp = response.success('D4')

        self.assertEqual('=99 D4\n\n',
                         response.serialize(self.cmd_with_sequence, resp))
예제 #2
0
    def test_serialize_with_sequence(self):
        resp = response.success("D4")

        self.assertEqual("=99 D4\n\n", response.serialize(self.cmd_with_sequence, resp))
예제 #3
0
    def test_serialize(self):
        resp = response.success('D4')

        self.assertEqual('= D4\n\n', response.serialize(self.cmd, resp))
예제 #4
0
    def test_serialize(self):
        resp = response.success("D4")

        self.assertEqual("= D4\n\n", response.serialize(self.cmd, resp))