tests_temp.py 492 Bytes
Newer Older
1 2 3
import json

from django.contrib.auth.models import User
4 5
from django.test import TestCase
from rest_framework.test import APIRequestFactory, APIClient
6

7
from djangoldp.tests.models import Skill, JobOffer, Post
8 9


10
class TestTemp(TestCase):
11

12 13 14
    def setUp(self):
        self.factory = APIRequestFactory()
        self.client = APIClient()
15 16
        self.user = User.objects.create_user(username='john', email='jlennon@beatles.com', password='glass onion')

17 18
    def tearDown(self):
        pass
19

20

21