# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals

import json

from django.contrib.auth import get_user_model
from django.test import TestCase

from model_mommy import mommy
from rest_framework.test import APIClient

from core.models import DataFile, Process, ProcessNode, Sample, Substrate


class TestProcessAPI(TestCase):

    def setUp(self):
        self.user = get_user_model().objects.create_user('username1',
                                                         password='')
        self.client = APIClient()
        self.client.login(username='username1', password='')

    def test_list_view_get(self):