Skip to content

Commit 9a85aad

Browse files
1 parent d288b08 commit 9a85aad

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

tests/storm_control_test.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def test_add_broadcast_storm(self):
1818
db = Db()
1919
obj = {'db':db.cfgdb}
2020

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

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

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

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

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

71-
result = runner.invoke(config.config.commands["storm_control"].commands["del"], ["Ethernet0", "unknown-multicast"], obj = obj)
71+
result = runner.invoke(config.config.commands["storm-control"].commands["del"], ["Ethernet0", "unknown-multicast"], obj = obj)
7272
print (result.exit_code)
7373
print (result.output)
7474
assert result.exit_code == 0

0 commit comments

Comments
 (0)