os-ken/ryu/tests/unit/sample
FUJITA Tomonori d9856db46f discard sample/test_simple_switch because of unittest fail
unittest crashes on commit e5e4b8442:

ERROR: testInit (ryu.tests.unit.sample.test_simple_switch.TestSimpleSwitch)

Traceback (most recent call last):
  File "/var/lib/jenkins/jobs/ryu-test-upstream/workspace/ryu/tests/unit/sample/test_simple_switch.py", line 20, in testInit
    ss = SimpleSwitch()
  File "/var/lib/jenkins/jobs/ryu-test-upstream/workspace/ryu/app/simple_switch.py", line 44, in __init__
    self.mac2port = kwargs['mac2port']
KeyError: 'mac2port'

The simple_switch unittest doesn't test anything anyway so let's
remove it for now.

This also fixes a pip8 error of simple_switch.py that the commit
e5e4b8442 added.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-06-02 05:20:12 +09:00
..
__init__.py Added test framework, ported from Quantum 2012-05-07 21:29:47 +09:00
test_sample1.py Added test framework, ported from Quantum 2012-05-07 21:29:47 +09:00
test_sample2.py Added test framework, ported from Quantum 2012-05-07 21:29:47 +09:00