Fixing TypeError, the JSON object must be str, not 'bytes'.
This commit is contained in:
Awais Qureshi
2019-10-14 23:33:21 +05:00
parent 8aa2fad4ec
commit f7adc71c44

View File

@@ -3,9 +3,9 @@ Test scenarios for the crowdsource hinter xblock.
"""
from __future__ import absolute_import
import json
import unittest
import simplejson as json
from django.conf import settings
from django.urls import reverse
from six import text_type