Exemple #1
0
    def test_tokenise_downlink_format_string(self):
        link_format = 'CA:3 AA:24 ME:56 PI:24'
        expected_tokens = [('CA', '3'), ('AA', '24'), ('ME', '56'),
                           ('PI', '24')]

        foo = DownlinkFormat()
        tokens = foo.tokenize_format(link_format)
        self.assertSequenceEqual(expected_tokens, tokens)
Exemple #2
0
    def test_tokenise_downlink_format_string(self):
        link_format = 'CA:3 AA:24 ME:56 PI:24'
        expected_tokens = [
            ('CA', '3'),
            ('AA', '24'),
            ('ME', '56'),
            ('PI', '24')
        ]

        foo = DownlinkFormat()
        tokens = foo.tokenize_format(link_format)
        self.assertSequenceEqual(expected_tokens, tokens)
Exemple #3
0
 def test_get_format(self):
     dlf = DownlinkFormat()
     link_format = dlf.get_format(5)
     import pdb
     pdb.set_trace()
Exemple #4
0
 def test_get_format(self):
     dlf = DownlinkFormat()
     link_format = dlf.get_format(5)
     import pdb; pdb.set_trace()