kopia lustrzana https://github.com/glidernet/python-ogn-client
tests: Change test module name to match the name of the tested module
rodzic
c5afd3a0ca
commit
220e28e9d6
|
@ -1,7 +1,7 @@
|
||||||
import unittest
|
import unittest
|
||||||
import unittest.mock as mock
|
import unittest.mock as mock
|
||||||
|
|
||||||
from ogn.parser import parse_aprs, parse_ogn_beacon, ParseError
|
from ogn.parser import parse_aprs, parse_ogn_beacon
|
||||||
from ogn.client.client import create_aprs_login, AprsClient
|
from ogn.client.client import create_aprs_login, AprsClient
|
||||||
from ogn.client.settings import APRS_APP_NAME, APRS_APP_VER
|
from ogn.client.settings import APRS_APP_NAME, APRS_APP_VER
|
||||||
|
|
||||||
|
@ -46,6 +46,7 @@ class OgnClientTest(unittest.TestCase):
|
||||||
def test_50_live_messages(self):
|
def test_50_live_messages(self):
|
||||||
print("Enter")
|
print("Enter")
|
||||||
self.remaining_messages = 50
|
self.remaining_messages = 50
|
||||||
|
|
||||||
def process_message(raw_message):
|
def process_message(raw_message):
|
||||||
if raw_message[0] == '#':
|
if raw_message[0] == '#':
|
||||||
return
|
return
|
Ładowanie…
Reference in New Issue