Beispiel #1
0
class RandomMarkdownDocumentProviderTest(unittest.TestCase):
    """Test class for RandomMarkdownDocumentProvider.
  """
    def setUp(self):
        self.provider = RandomMarkdownDocumentProvider()

    def testGetValue(self):
        """Tests getValue().
    """
        value = self.provider.getValue()
        self.assertTrue('===' in value)
        self.assertTrue('\n\n' in value)
Beispiel #2
0
class RandomMarkdownDocumentProviderTest(unittest.TestCase):
  """Test class for RandomMarkdownDocumentProvider.
  """

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

  def testGetValue(self):
    """Tests getValue().
    """
    value = self.provider.getValue()
    self.assertTrue('===' in value)
    self.assertTrue('\n\n' in value)
Beispiel #3
0
 def setUp(self):
   self.provider = RandomMarkdownDocumentProvider()
Beispiel #4
0
 def setUp(self):
     self.provider = RandomMarkdownDocumentProvider()