autodl-projects/tests/test_import.py

25 lines
751 B
Python
Raw Normal View History

2021-05-19 07:00:33 +02:00
#####################################################
# Copyright (c) Xuanyi Dong [GitHub D-X-Y], 2021.03 #
#####################################################
# pytest ./tests/test_import.py #
#####################################################
import os, sys, time, torch
import pickle
import tempfile
from pathlib import Path
def test_import():
from xautodl import config_utils
from xautodl import datasets
from xautodl import log_utils
from xautodl import models
from xautodl import nas_infer_model
from xautodl import procedures
from xautodl import spaces
from xautodl import trade_models
from xautodl import utils
from xautodl import xlayers
print("Check all imports done")