# Path: ogn/parser/aprs_comment/generic_parser.py
# class GenericParser(BaseParser):
#     def __init__(self, beacon_type='unknown'):
#         self.beacon_type = beacon_type
# 
#     def parse_position(self, aprs_comment):
#         return {'comment': aprs_comment}
# 
#     def parse_status(self, aprs_comment):
#         return {'comment': aprs_comment}


import unittest
from ogn.parser.aprs_comment.generic_parser import GenericParser



class TestStringMethods(unittest.TestCase):
    def test_position_comment(self):
        message = GenericParser().parse_position("id0123456789 weather is good, climbing with 123fpm")
        self.assertTrue('comment' in message)


# Path: ogn/parser/aprs_comment/generic_parser.py
# class GenericParser(BaseParser):
#     def __init__(self, beacon_type='unknown'):
#         self.beacon_type = beacon_type
# 
#     def parse_position(self, aprs_comment):
#         return {'comment': aprs_comment}
# 
#     def parse_status(self, aprs_comment):
#         return {'comment': aprs_comment}


# Path: tests/parser/test_parse_generic.py
import unittest
from ogn.parser.aprs_comment.generic_parser import GenericParser




class TestStringMethods(unittest.TestCase):
    def test_position_comment(self):
        message = GenericParser().parse_position("id0123456789 weather is good, climbing with 123fpm")
        self.assertTrue('comment' in message)


        message = GenericParser().parse_status("id0123456789 weather is good, climbing with 123fpm")