From 663024239ffb574485ac3bc6f34fe80e06de3e59 Mon Sep 17 00:00:00 2001 From: Nigel Dokter Date: Sun, 8 Jan 2017 11:24:04 +0100 Subject: [PATCH] dev progress --- test/{telegram_buffer.py => test_telegram_buffer.py} | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename test/{telegram_buffer.py => test_telegram_buffer.py} (97%) diff --git a/test/telegram_buffer.py b/test/test_telegram_buffer.py similarity index 97% rename from test/telegram_buffer.py rename to test/test_telegram_buffer.py index 17a3643..8bbdcd5 100644 --- a/test/telegram_buffer.py +++ b/test/test_telegram_buffer.py @@ -1,11 +1,10 @@ -from unittest import mock, TestCase -from unittest.mock import call +import unittest from dsmr_parser.serial import TelegramBuffer from test.example_telegrams import TELEGRAM_V2_2, TELEGRAM_V4_2 -class TelegramBufferTest(TestCase): +class TelegramBufferTest(unittest.TestCase): def setUp(self): self.telegram_buffer = TelegramBuffer()