Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TESTPLAN-2538: minor fixes for auto-parts #1002

Merged
merged 8 commits into from
Oct 26, 2023
Merged

Conversation

Pyifan
Copy link
Contributor

@Pyifan Pyifan commented Oct 6, 2023

Bug / Requirement Description

Clearly and concisely describe the problem.

Solution description

Describe your code changes in detail for reviewers.

Checklist:

  • Test
  • Example (both test_plan.py and .rst)
  • Documentation (API)
  • News fragment present for release notes
  • MS info leakage check
  • For new driver: driver index page
  • For new assertion: ui/pdf/std renderers, documentation
  • For new cmdline arg: documentation

@Pyifan Pyifan force-pushed the bugfix branch 2 times, most recently from 1b05aef to 41d8c21 Compare October 13, 2023 05:52
@Pyifan Pyifan force-pushed the bugfix branch 4 times, most recently from be24d0b to 6431f6a Compare October 19, 2023 15:15
def context_input(self) -> Dict[str, Any]:
"""All attr of self in a dict for context resolution"""
return {attr: getattr(self, attr) for attr in dir(self)}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move to Entity so that both Driver and Test can use this

@Pyifan Pyifan force-pushed the bugfix branch 2 times, most recently from a6ba525 to 89cb825 Compare October 24, 2023 15:18
@@ -65,23 +64,6 @@ def test_expand(driver_context):
assert expand(cv, driver_context, int) == 123


def test_expand_env(driver_context):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this test is moved to internal

@Pyifan Pyifan merged commit bda7458 into morganstanley:main Oct 26, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants