diff options
author | zhaoyehua <zhaoyh6@asiainfo.com> | 2021-03-24 16:25:33 +0800 |
---|---|---|
committer | zhaoyehua <zhaoyh6@asiainfo.com> | 2021-03-24 16:27:48 +0800 |
commit | dd67db0dede71551c772caa685d3c12a1a3e57d2 (patch) | |
tree | 3c36524a6f65e49002f8dd9767445300da343734 /test_1.py | |
parent | 11b32441cc0235cc5ca4066085a3d8d0253e5789 (diff) |
feat:Adjust the directory and increase the image production process
Issue-ID: USECASEUI-525
Change-Id: I7bcbf0b48778fd59946483b253f32dda217913c0
Signed-off-by: zhaoyehua <zhaoyh6@asiainfo.com>
Diffstat (limited to 'test_1.py')
-rw-r--r-- | test_1.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/test_1.py b/test_1.py deleted file mode 100644 index 3e50176..0000000 --- a/test_1.py +++ /dev/null @@ -1,24 +0,0 @@ -# -*- coding:utf-8 -*- -import pytest - - -@pytest.fixture(scope='function') -def setup_function(request): - def teardown_function(): - print("teardown_function called.") - request.addfinalizer(teardown_function) # 此内嵌函数做teardown工作 - print('setup_function called.') - - -@pytest.fixture(scope='module') -def setup_module(request): - def teardown_module(): - print("teardown_module called.") - request.addfinalizer(teardown_module) - print('setup_module called.') - - -# @pytest.mark.website -def test_1(setup_function): - print('Test_1 called.') - assert 1 == 1 |