Skip to content

Commit

Permalink
Merge pull request #4455 from MCGallaspy/central-develop
Browse files Browse the repository at this point in the history
Remove duplicate TestCase subclass
  • Loading branch information
MCGallaspy committed Sep 18, 2015
2 parents c01942e + 719921a commit 361834b
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions kalite/contentload/tests/generate_assessment_zips.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,19 +67,6 @@ def test_localize_all_graphie_urls(self):
self.assertNotIn("web+graphie://ka-perseus", new_item_data)


class TestUrlConversion(TestCase):

def test_url_converted(self):
url_string = "A string with http://example.com/cat_pics.gif"
expected_string = "A string with /content/khan/cat_pics.gif"
self.assertEqual(expected_string, mod.convert_urls(url_string))

def test_multiple_urls_in_one_string_converted(self):
url_string = "A string with http://example.com/cat_pics.JPEG http://example.com/cat_pics2.gif"
expected_string = "A string with /content/khan/cat_pics.JPEG /content/khan/cat_pics2.gif"
self.assertEqual(expected_string, mod.convert_urls(url_string))


class GenerateAssessmentItemsCommandTests(KALiteTestCase):

def setUp(self):
Expand Down

0 comments on commit 361834b

Please sign in to comment.