Skip to content

Commit

Permalink
use django unit test class
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanNoelk committed Apr 7, 2018
1 parent 677f906 commit 7422254
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v1/recipe/tests/test_ratings.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#!/usr/bin/env python
# encoding: utf-8

import unittest
import mock
from django.test import TestCase
from copy import deepcopy

from v1.recipe.serializers import RecipeSerializer
from v1.recipe.models import Recipe


class RecipeSerializerTests(unittest.TestCase):
class RecipeSerializerTests(TestCase):
def setUp(self):
self.serializer = RecipeSerializer()
self.data = {
Expand Down

0 comments on commit 7422254

Please sign in to comment.