<filename>tests/domain/base.py<gh_stars>0
import json
from unittest import TestCase


class TestBase(TestCase):

    def setUp(self):
        pass

    def assertJson(self, json_a, json_b):
        self.assertEqual(json.dumps(json_a, indent=2, sort_keys=True),
                         json.dumps(json_b, indent=2, sort_keys=True))
<filename>tests/domain/base.py<gh_stars>0
import json
from unittest import TestCase


class TestBase(TestCase):

    def setUp(self):
        pass

    def assertJson(self, json_a, json_b):
        self.assertEqual(json.dumps(json_a, indent=2, sort_keys=True),
                         json.dumps(json_b, indent=2, sort_keys=True))