Sort imports according to PEP8 for 'tests' (#29791)

This commit is contained in:
Bas Nijholt 2019-12-09 16:52:24 +01:00 committed by Franck Nijhof
parent 67c56c860d
commit f60125b5c9
68 changed files with 254 additions and 251 deletions

View file

@ -1,16 +1,15 @@
"""Test Home Assistant json utility functions."""
from json import JSONEncoder
import os
import unittest
from unittest.mock import Mock
import sys
from tempfile import mkdtemp
import unittest
from unittest.mock import Mock
import pytest
from homeassistant.util.json import SerializationError, load_json, save_json
from homeassistant.exceptions import HomeAssistantError
from homeassistant.util.json import SerializationError, load_json, save_json
# Test data that can be saved as JSON
TEST_JSON_A = {"a": 1, "B": "two"}