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)
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)
def test_get_format(self): dlf = DownlinkFormat() link_format = dlf.get_format(5) import pdb pdb.set_trace()
def test_get_format(self): dlf = DownlinkFormat() link_format = dlf.get_format(5) import pdb; pdb.set_trace()