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

test: two small tweaks to the tests #376

Merged
merged 2 commits into from
Aug 11, 2023
Merged

test: two small tweaks to the tests #376

merged 2 commits into from
Aug 11, 2023

Conversation

nedbat
Copy link
Contributor

@nedbat nedbat commented Aug 7, 2023

I keep finding small improvements, I hope the stream of PRs isn't a nuisance.

Merge checklist:
Check off if complete or not applicable:

  • Changelog record added
  • Documentation updated (not only docstrings)
  • Fixup commits are squashed away
  • Unit tests added/updated
  • Manual testing instructions provided
  • Noted any: Concerns, dependencies, deadlines, tickets

It's returning configuration, so the places that need the configuration
can get it directly instead of having options_baked return it.
@@ -32,7 +32,7 @@
"author_email": "cookie@monster.org",
"author_name": "Cookie Monster",
"library_name": "cookie_lover",
"github_org": "bakery_org",
"github_org": "openedx",
Copy link
Contributor

Choose a reason for hiding this comment

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

I infer that you've made this change to test the new branch, and that the other cookiecutter tests use non-openedx orgs?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, this was to have a mixture of organizations across all of the tests.

@timmc-edx
Copy link
Contributor

What prompted the changes to the hardcoding test?

@nedbat
Copy link
Contributor Author

nedbat commented Aug 10, 2023

@timmc-edx Are you still waiting on something from me?

@timmc-edx
Copy link
Contributor

Yeah, not sure if you saw this comment:

What prompted the changes to the hardcoding test?

I'm wondering what the failure mode was that prompted this (whether observed or hypothetical).

@nedbat
Copy link
Contributor Author

nedbat commented Aug 10, 2023

If you mean counting the right and wrong lines, I was curious about how many lines there were, and figured there should be something more than "no bad lines." There should also be some good lines.

@timmc-edx
Copy link
Contributor

Got it, makes sense.

@nedbat nedbat merged commit 726e417 into master Aug 11, 2023
4 checks passed
@nedbat nedbat deleted the nedbat/small-tweaks branch August 11, 2023 11:39
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