Refine lib -> xautodl
This commit is contained in:
24
tests/test_import.py
Normal file
24
tests/test_import.py
Normal file
@@ -0,0 +1,24 @@
|
||||
#####################################################
|
||||
# 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")
|
Reference in New Issue
Block a user