old_contents: # -*- coding: utf-8
  from __future__ import unicode_literals
  
  from django.db import models
  from django.test import TestCase
  
  from shop.models.cart import BaseCartItem
  from shop.models.fields import JSONField
  
  
  class JSONFieldTest(TestCase):
      """JSONField Wrapper Tests"""
  
      def test_json_field_create(self):
          """Test saving a JSON object in our JSONField"""
          json_obj = {
              "item_1": "this is a json blah",
              "blergh": "hey, hey, hey"}
  
          obj = BaseCartItem.objects.create(extra=json_obj)
          new_obj = JsonModel.objects.get(id=obj.id)
  
          self.assertEqual(new_obj.json, json_obj)
  
new_contents: # -*- coding: utf-8
  from __future__ import unicode_literals
  
  from django.test import TestCase
  
  from shop.models.cart import BaseCartItem
  
  
  class JSONFieldTest(TestCase):
      """JSONField Wrapper Tests"""
  
      def test_json_field_create(self):
          """Test saving a JSON object in our JSONField"""
          json_obj = {
              "item_1": "this is a json blah",
              "blergh": "hey, hey, hey"}
  
          obj = BaseCartItem.objects.create(extra=json_obj)
          new_obj = BaseCartItem.objects.get(id=obj.id)
  
          self.assertEqual(new_obj.json, json_obj)
  
subject: Fix test