
# from mininet.cli import CLI
from mininet.net import Mininet

from nose.plugins.skip import SkipTest

from utils import STATE, RWT_INIT_LEVEL
from utils import TANK_SECTION
from topo import SwatTopo
from physical_process import RawWaterTank


# import subprocess
# import sys


@SkipTest
def test_init():

    pass


def test_topo():

    topo = SwatTopo()
    net = Mininet(topo=topo)

    net.start()
    net.pingAll()
    net.stop()


def test_raw_water_tank():

    RawWaterTank(
        name='test_rwt',
        state=STATE,
        protocol=None,
        section=TANK_SECTION,
        level=RWT_INIT_LEVEL
    )


# from mininet.cli import CLI
from mininet.net import Mininet

from utils import STATE, RWT_INIT_LEVEL
from utils import TANK_SECTION
from topo import SwatTopo
from physical_process import RawWaterTank


# import subprocess
# import sys


def test_init():

    pass


def test_topo():

    topo = SwatTopo()
    net = Mininet(topo=topo)

    net.start()
    net.pingAll()
    net.stop()


def test_raw_water_tank():

    RawWaterTank(
        name='test_rwt',
        state=STATE,
        protocol=None,
        section=TANK_SECTION,
        level=RWT_INIT_LEVEL
    )

Remove examples dep from nose
Remove examples dep from nose

  
  # from mininet.cli import CLI
  from mininet.net import Mininet
- 
- from nose.plugins.skip import SkipTest
  
  from utils import STATE, RWT_INIT_LEVEL
  from utils import TANK_SECTION
  from topo import SwatTopo
  from physical_process import RawWaterTank
  
  
  # import subprocess
  # import sys
  
  
- @SkipTest
  def test_init():
  
      pass
  
  
  def test_topo():
  
      topo = SwatTopo()
      net = Mininet(topo=topo)
  
      net.start()
      net.pingAll()
      net.stop()
  
  
  def test_raw_water_tank():
  
      RawWaterTank(
          name='test_rwt',
          state=STATE,
          protocol=None,
          section=TANK_SECTION,
          level=RWT_INIT_LEVEL
      )
  
Remove examples dep from nose
## Code Before:

# from mininet.cli import CLI
from mininet.net import Mininet

from nose.plugins.skip import SkipTest

from utils import STATE, RWT_INIT_LEVEL
from utils import TANK_SECTION
from topo import SwatTopo
from physical_process import RawWaterTank


# import subprocess
# import sys


@SkipTest
def test_init():

    pass


def test_topo():

    topo = SwatTopo()
    net = Mininet(topo=topo)

    net.start()
    net.pingAll()
    net.stop()


def test_raw_water_tank():

    RawWaterTank(
        name='test_rwt',
        state=STATE,
        protocol=None,
        section=TANK_SECTION,
        level=RWT_INIT_LEVEL
    )

## Instruction:
Remove examples dep from nose
## Code After:

# from mininet.cli import CLI
from mininet.net import Mininet

from utils import STATE, RWT_INIT_LEVEL
from utils import TANK_SECTION
from topo import SwatTopo
from physical_process import RawWaterTank


# import subprocess
# import sys


def test_init():

    pass


def test_topo():

    topo = SwatTopo()
    net = Mininet(topo=topo)

    net.start()
    net.pingAll()
    net.stop()


def test_raw_water_tank():

    RawWaterTank(
        name='test_rwt',
        state=STATE,
        protocol=None,
        section=TANK_SECTION,
        level=RWT_INIT_LEVEL
    )
