Skip to content

Instantly share code, notes, and snippets.

@RyanCopley
Created January 28, 2015 02:26
Show Gist options
  • Save RyanCopley/05781ef1b34c76b7c456 to your computer and use it in GitHub Desktop.
Save RyanCopley/05781ef1b34c76b7c456 to your computer and use it in GitHub Desktop.
"""
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