Migrate analyzer_test to pytest
This commit is contained in:
parent
0a9b0223a6
commit
591b62ebee
1 changed files with 4 additions and 12 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue