Skip to content

Commit 531d7f5

Browse files
add tests/conftest.py
1 parent 9e51253 commit 531d7f5

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

tests/conftest.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved.
2+
# Licensed under the Apache License, Version 2.0 (the "License");
3+
# you may not use this file except in compliance with the License.
4+
# You may obtain a copy of the License at: [package root]/LICENSE.txt
5+
# Unless required by applicable law or agreed to in writing, software distributed under the License
6+
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7+
# See the License for the specific language governing permissions and limitations under the License.
8+
9+
# import all the symbols from our fixtures
10+
# and make available to test cases, implicitly.
11+
# this is thanks to pytest magic.
12+
#
13+
# see the following for a discussion:
14+
# https://www.revsys.com/tidbits/pytest-fixtures-are-magic/
15+
# https://lobste.rs/s/j8xgym/pytest_fixtures_are_magic
16+
from fixtures import * # noqa: F403 [unable to detect undefined names]

0 commit comments

Comments
 (0)