From 6eb8973c0bfd13c25c244a3871130c5e36b5fbd7 Mon Sep 17 00:00:00 2001 From: Renato Monteiro <45536168+monteiro-renato@users.noreply.github.com> Date: Sun, 17 Sep 2023 02:50:27 +0100 Subject: [PATCH] Fix typo in test_switchdpidassignment.py (#1195) * Fix typo in test_switchdpidassignment.py * Fix another typo in test_switchdpidassignment.py --- mininet/test/test_switchdpidassignment.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mininet/test/test_switchdpidassignment.py b/mininet/test/test_switchdpidassignment.py index f3ea309..83a2e45 100755 --- a/mininet/test/test_switchdpidassignment.py +++ b/mininet/test/test_switchdpidassignment.py @@ -51,7 +51,7 @@ class TestSwitchDpidAssignmentOVS( unittest.TestCase ): def testDefaultDpidAssignmentFailure( self ): """Verify that Default dpid assignment raises an Exception if the - name of the switch does not contin a digit. Also verify the + name of the switch does not contain a digit. Also verify the exception message.""" net = Mininet( Topo(), self.switchClass, Host, Controller ) with self.assertRaises( Exception ) as raises_cm: @@ -80,7 +80,7 @@ class OVSUser( OVSSwitch): OVSSwitch.__init__( self, *args, **kwargs ) class testSwitchOVSUser( TestSwitchDpidAssignmentOVS ): - "Test dpid assignnment of OVS User Switch." + "Test dpid assignment of OVS User Switch." switchClass = OVSUser @unittest.skipUnless( quietRun( 'which ivs-ctl' ),