-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add congratulatory mock function #44
Conversation
Green tick nice! 🥳 Suggestion for next step if you're wanting to take the practice PR further would be to add a unit test, say to check your congratulatory message gets printed when Soz for mad slow reply! Got a bit busy. Back up to speed on stuff now :) |
Thanks Dan!! I've been super busy too and am happy to get back to practising now 😄 Did some reading on mock and pytest, I am happy to learn about that. Though I have to say I don't fully understand where the mocker and tmpdir inputs come from (I just saw you could input these from the others tests). |
Nice nice - getting one's head around Not fully understanding where A few notes on your latest commit:
|
7032703
to
e568597
Compare
That makes sense, the fixtures were already defined in pytest, hence why I couldn't see where they were defined.
|
Nice nice nice :) Yea git can be a real pain when trying to remove entire files that were mistaken added to tracking. You could if you wanted to try doing a |
At the end of the run() function, print a congratulatory message
c343f3d
to
c31f86e
Compare
Ok yes, sorry for the messy commit history, I should have tidied that up now. Couple of questions though:
|
🤷 no preference I think, given like you say the outcome is the same! The important thing is that one has a good mastery of editing/altering/rebasing their git history to make it as clean and understandable and clear as possible for the future review of the commits (which from your question it sounds like you're doing great on!). So I would go with you own preference :)
Hmm, maybe not strong views against it, but I think one might be hindering themselves slightly be being reliant on it. The actual version control system we are using is |
I see thanks! If you have other mock practices/actual stuff I can have a go at, let me know 👍 |
You could have a think/go at this #31 if you want something proper to have a blast on :) |
@floracharbo wanna close this as now have #46 we're working from? |
At the end of the run() function, print a congratulatory message