
from neutron.tests.functional.agent.linux import base


class TestFWaaSDriver(base.BaseLinuxTestCase):

    """Test the Iptables implmentation of the FWaaS driver."""

    # NOTE: Tests may be added/removed/changed, when this is fleshed out
    # in future commits.

    def test_status_reporting(self):
        """Test status reported correctly to agent."""
        pass


from neutron.tests.functional import base


class TestFWaaSDriver(base.BaseSudoTestCase):

    """Test the Iptables implmentation of the FWaaS driver."""

    # NOTE: Tests may be added/removed/changed, when this is fleshed out
    # in future commits.

    def test_status_reporting(self):
        """Test status reported correctly to agent."""
        pass

Use BaseSudoTestCase instead of BaseLinuxTestCase
Use BaseSudoTestCase instead of BaseLinuxTestCase

BaseLinuxTestCase will be removed from neutron code[1]. This change
uses BaseSudoTestCase instead of BaseLinuxTestCase as helper methods
have been transformed into fixtures.

[1] https://review.openstack.org/161913

Change-Id: I23398c56c9cd71f617bde9167b9d32d126f16628

  
- from neutron.tests.functional.agent.linux import base
+ from neutron.tests.functional import base
  
  
- class TestFWaaSDriver(base.BaseLinuxTestCase):
+ class TestFWaaSDriver(base.BaseSudoTestCase):
  
      """Test the Iptables implmentation of the FWaaS driver."""
  
      # NOTE: Tests may be added/removed/changed, when this is fleshed out
      # in future commits.
  
      def test_status_reporting(self):
          """Test status reported correctly to agent."""
          pass
  
Use BaseSudoTestCase instead of BaseLinuxTestCase
## Code Before:

from neutron.tests.functional.agent.linux import base


class TestFWaaSDriver(base.BaseLinuxTestCase):

    """Test the Iptables implmentation of the FWaaS driver."""

    # NOTE: Tests may be added/removed/changed, when this is fleshed out
    # in future commits.

    def test_status_reporting(self):
        """Test status reported correctly to agent."""
        pass

## Instruction:
Use BaseSudoTestCase instead of BaseLinuxTestCase
## Code After:

from neutron.tests.functional import base


class TestFWaaSDriver(base.BaseSudoTestCase):

    """Test the Iptables implmentation of the FWaaS driver."""

    # NOTE: Tests may be added/removed/changed, when this is fleshed out
    # in future commits.

    def test_status_reporting(self):
        """Test status reported correctly to agent."""
        pass
