Skip to content

Commit 545a1cc

Browse files
committed
Mention requires section in comment
1 parent 0e542e4 commit 545a1cc

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

test_elasticsearch_serverless/test_server/test_rest_api_spec.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -565,9 +565,12 @@ def remove_implicit_resolver(cls, tag_to_remove):
565565
yaml.load_all(package_zip.read(yaml_file), Loader=NoDatesSafeLoader)
566566
)
567567

568-
# Each file may have a "test" named 'setup' or 'teardown',
569-
# these sets of steps should be run at the beginning and end
570-
# of every other test within the file so we do one pass to capture those.
568+
# Each file has a `requires` section with `serverless` and `stack`
569+
# boolean entries indicating whether the test should run with
570+
# serverless, stack or both. Additionally, each file may have a section
571+
# named 'setup' or 'teardown', these sets of steps should be run at the
572+
# beginning and end of every other test within the file so we do one
573+
# pass to capture those.
571574
requires = setup_steps = teardown_steps = None
572575
test_numbers_and_steps = []
573576
test_number = 0

0 commit comments

Comments
 (0)