diff --git a/test/test_device.py b/test/test_device.py deleted file mode 100644 index 2b3b73f..0000000 --- a/test/test_device.py +++ /dev/null @@ -1,23 +0,0 @@ -import unittest -import datetime -import pytz - -from dsmr_parser import telegram_specifications -from dsmr_parser import obis_name_mapping -from dsmr_parser import obis_references as obis -from dsmr_parser.objects import CosemObject, MbusDevice -from dsmr_parser.objects import MBusObject -from dsmr_parser.objects import ProfileGenericObject -from dsmr_parser.parsers import TelegramParser -from test.example_telegrams import TELEGRAM_V4_2, TELEGRAM_V5_TWO_MBUS -from decimal import Decimal - - -class DeviceObjectTest(unittest.TestCase): - - def test_tmp(self): - parser = TelegramParser(telegram_specifications.V5) - telegram = parser.parse(TELEGRAM_V5_TWO_MBUS) - # print('val: ', telegram.HOURLY_GAS_METER_READING) - - device = MbusDevice() diff --git a/test/test_telegram.py b/test/test_telegram.py index c289314..d65d5c1 100644 --- a/test/test_telegram.py +++ b/test/test_telegram.py @@ -336,7 +336,7 @@ class TelegramTest(unittest.TestCase): mbus_device_1 = mbus_devices[0] self.assertEqual(mbus_device_1.EQUIPMENT_IDENTIFIER_GAS.value, None) - print() + self.assertEqual(mbus_device_1.HOURLY_GAS_METER_READING.value, Decimal('0')) mbus_device_2 = mbus_devices[1]