test: fix import order

Python mandates global imports before local imports (pylint should warn
about this). Fix the test to import locals late.
This commit is contained in:
David Rheinsberg 2020-04-20 07:55:00 +02:00 committed by Tom Gundersen
parent 7d2e895d26
commit f50f9d912f

View file

@ -3,13 +3,13 @@ import ctypes
import http.server
import json
import os
import osbuild.sources
import socketserver
import subprocess
import tempfile
import threading
import unittest
import osbuild.sources
def errcheck(ret, func, args):
if ret == -1: