File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11import pytest
22
33from gardenlinux .features import Parser
4- from .constants import GL_ROOT_DIR
4+ from .. constants import GL_ROOT_DIR
55
66
77@pytest .mark .parametrize (
5858 ),
5959 ],
6060)
61- def test_get_features_dict (input_cname : str , expected_output : dict ):
61+ def test_parser_filter_as_dict (input_cname : str , expected_output : dict ):
6262 """
63- Tests if get_features_dict returns the dict with expected features.
63+ Tests if parser_filter_as_dict returns the dict with expected features.
6464
6565 If you discover that this test failed, you may want to verify if the included
6666 features have changed since writing this test. In this case, update the expected output accordingly.
67- You can print the output of get_features_dict so you have the dict in the expected format.
67+ You can print the output of parser_filter_as_dict so you have the dict in the expected format.
6868 """
6969 features_dict = Parser (GL_ROOT_DIR ).filter_as_dict (input_cname )
7070 assert features_dict == expected_output
You can’t perform that action at this time.
0 commit comments