Migrate analyzer_test to pytest

This commit is contained in:
jo 2021-06-04 14:03:05 +02:00
parent 0a9b0223a6
commit 591b62ebee

View file

@ -1,16 +1,8 @@
import pytest
from airtime_analyzer.analyzer import Analyzer
from nose.tools import *
def setup():
pass
def teardown():
pass
@raises(NotImplementedError)
def test_analyze():
abstract_analyzer = Analyzer()
abstract_analyzer.analyze(u"foo", dict())
with pytest.raises(NotImplementedError):
abstract_analyzer = Analyzer()
abstract_analyzer.analyze(u"foo", dict())