Created
January 28, 2015 02:26
-
-
Save RyanCopley/05781ef1b34c76b7c456 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Unit tests for the insider details fetcher | |
""" | |
from django.test import TestCase | |
from insider import models | |
class TestInsideDetailsFetcherTestCase(TestCase): | |
def testInsiderTag(self): | |
test_data = { | |
"insider-url" : "http://google.com" | |
} | |
url = models.get_insider_details(test_data) | |
self.assertEqual(details, "http://google.com") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment