Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
mohan-selvaraj committed May 5, 2022
1 parent d288b08 commit 9a85aad
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/storm_control_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def test_add_broadcast_storm(self):
db = Db()
obj = {'db':db.cfgdb}

result = runner.invoke(config.config.commands["storm_control"].commands["add"], ["Ethernet0", "broadcast", "10000"], obj = obj)
result = runner.invoke(config.config.commands["storm-control"].commands["add"], ["Ethernet0", "broadcast", "10000"], obj = obj)
print (result.exit_code)
print (result.output)
assert result.exit_code == 0
Expand All @@ -28,7 +28,7 @@ def test_add_uucast_storm(self):
db = Db()
obj = {'db':db.cfgdb}

result = runner.invoke(config.config.commands["storm_control"].commands["add"], ["Ethernet0", "unknown-unicast", "20000"], obj = obj)
result = runner.invoke(config.config.commands["storm-control"].commands["add"], ["Ethernet0", "unknown-unicast", "20000"], obj = obj)
print (result.exit_code)
print (result.output)
assert result.exit_code == 0
Expand All @@ -38,7 +38,7 @@ def test_add_umcast_storm(self):
db = Db()
obj = {'db':db.cfgdb}

result = runner.invoke(config.config.commands["storm_control"].commands["add"], ["Ethernet0", "unknown-multicast", "30000"], obj = obj)
result = runner.invoke(config.config.commands["storm-control"].commands["add"], ["Ethernet0", "unknown-multicast", "30000"], obj = obj)
print (result.exit_code)
print (result.output)
assert result.exit_code == 0
Expand All @@ -48,7 +48,7 @@ def test_del_broadcast_storm(self):
db = Db()
obj = {'db':db.cfgdb}

result = runner.invoke(config.config.commands["storm_control"].commands["del"], ["Ethernet0", "broadcast"], obj = obj)
result = runner.invoke(config.config.commands["storm-control"].commands["del"], ["Ethernet0", "broadcast"], obj = obj)
print (result.exit_code)
print (result.output)
assert result.exit_code == 0
Expand All @@ -58,7 +58,7 @@ def test_del_uucast_storm(self):
db = Db()
obj = {'db':db.cfgdb}

result = runner.invoke(config.config.commands["storm_control"].commands["del"], ["Ethernet0", "unknown-unicast"], obj = obj)
result = runner.invoke(config.config.commands["storm-control"].commands["del"], ["Ethernet0", "unknown-unicast"], obj = obj)
print (result.exit_code)
print (result.output)
assert result.exit_code == 0
Expand All @@ -68,7 +68,7 @@ def test_del_umcast_storm(self):
db = Db()
obj = {'db':db.cfgdb}

result = runner.invoke(config.config.commands["storm_control"].commands["del"], ["Ethernet0", "unknown-multicast"], obj = obj)
result = runner.invoke(config.config.commands["storm-control"].commands["del"], ["Ethernet0", "unknown-multicast"], obj = obj)
print (result.exit_code)
print (result.output)
assert result.exit_code == 0
Expand Down

0 comments on commit 9a85aad

Please sign in to comment.