diff --git a/cards/__init__ .py b/cards/__init__.py similarity index 100% rename from cards/__init__ .py rename to cards/__init__.py diff --git a/cards/tests.py b/cards/tests.py index 19518bf..c2aa441 100644 --- a/cards/tests.py +++ b/cards/tests.py @@ -10,7 +10,7 @@ from cards.models import Card, Deck, DeckNameTranslation, CardNameTranslation from trades.models import TradeOffer, TradeOfferHaveCard, TradeOfferWantCard from cards.templatetags import card_badge, card_multiselect -class CardsModelsTestCase(TestCase): +class CardsModelsTests(TestCase): def setUp(self): self.deck = Deck.objects.create( name="Test Deck", hex_color="#FFFFFF", cardset="A" @@ -45,7 +45,7 @@ class CardsModelsTestCase(TestCase): ) self.assertEqual(str(card_translation), "Card Translated") -class CardTemplatetagsTestCase(TestCase): +class CardTemplatetagsTests(TestCase): def setUp(self): # Create a dummy card to use in template tag tests. self.card = Card.objects.create( @@ -143,7 +143,7 @@ class CardTemplatetagsTestCase(TestCase): # Verify that the context's cards match those in the database. self.assertEqual(list(context["cards"]), default_cards) -class CardsViewsTestCase(TestCase): +class CardsViewsTests(TestCase): def setUp(self): self.client = Client() # Create a test user and friend code for trade offers.