Esempio n. 1
0
class RandomLinkProviderTest(unittest.TestCase):
    """Test class for RandomLinkProvider.
  """
    def setUp(self):
        self.provider = RandomLinkProvider()

    def testGetValue(self):
        """Tests getValue().
    """
        value = self.provider.getValue()
        self.assertTrue('http://' in value)
Esempio n. 2
0
class RandomLinkProviderTest(unittest.TestCase):
  """Test class for RandomLinkProvider.
  """

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

  def testGetValue(self):
    """Tests getValue().
    """
    value = self.provider.getValue()
    self.assertTrue('http://' in value)
Esempio n. 3
0
 def setUp(self):
     self.provider = RandomLinkProvider()
Esempio n. 4
0
 def setUp(self):
   self.provider = RandomLinkProvider()