forked from catchpoint/WebPageTest.agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwptagent_test.py
40 lines (33 loc) · 826 Bytes
/
wptagent_test.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import logging
import pytest
import warnings
import os
def test_imports():
# pylint: disable=W0611
import logging
import gzip
import zipfile
import re
import traceback
import psutil
import glob
import hashlib
import multiprocessing
import shutil
import threading
import gc
import PIL
import numpy
import requests
import selenium
import wptagent
from internal.browsers import Browsers
from internal.webpagetest import WebPageTest
from internal.traffic_shaping import TrafficShaper
from internal.adb import Adb
from internal.ios_device import iOSDevice
try:
import ujson as json
except BaseException:
warnings.warn(UserWarning("Ujson couldn't import, defaulting to json lib"))
import json