Exemplo n.º 1
0
class FixedEmailProviderTest(unittest.TestCase):
    """Test class for FixedEmailProvider.
  """
    def setUp(self):
        self.provider = FixedEmailProvider()

    def tearDown(self):
        pass

    def testGetValue(self):
        """Tests FixedEmailProvider.getValue()
    """
        value = "*****@*****.**"
        self.provider.param_values = {"value": value}
        self.assertEquals(self.provider.getValue(), value)
Exemplo n.º 2
0
class FixedEmailProviderTest(unittest.TestCase):
  """Test class for FixedEmailProvider.
  """

  def setUp(self):
    self.provider = FixedEmailProvider()

  def tearDown(self):
    pass

  def testGetValue(self):
    """Tests FixedEmailProvider.getValue()
    """
    value = "*****@*****.**"
    self.provider.param_values = {"value": value}
    self.assertEquals(self.provider.getValue(), value)
Exemplo n.º 3
0
 def setUp(self):
     self.provider = FixedEmailProvider()
Exemplo n.º 4
0
 def setUp(self):
   self.provider = FixedEmailProvider()