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

Fixes and slight UI/documentation improvements #194

Merged
merged 18 commits into from
May 11, 2022

Conversation

PetrDlouhy
Copy link
Collaborator

This PR contains #192 and some more edits:

@PetrDlouhy PetrDlouhy mentioned this pull request Jun 16, 2021
@@ -4,7 +4,7 @@ experiments = function() {
$.post("/experiments/confirm_human/");
},
goal: function(goal_name) {
$.post("/experiments/goal/" + goal_name);
$.post("/experiments/goal/" + goal_name + "/");

Choose a reason for hiding this comment

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

I think it's cleaner to use f-Strings

Suggested change
$.post("/experiments/goal/" + goal_name + "/");
$.post(f"/experiments/goal/{goal_name}/");

Copy link
Collaborator Author

@PetrDlouhy PetrDlouhy May 11, 2022

Choose a reason for hiding this comment

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

@iamjazzar This is JavaScript 😀. Good attempt, I almost released this.

@PetrDlouhy PetrDlouhy force-pushed the merge_all branch 4 times, most recently from 623905c to f61120c Compare May 11, 2022 09:28
@PetrDlouhy PetrDlouhy force-pushed the merge_all branch 6 times, most recently from 0872354 to 74b6f3e Compare May 11, 2022 10:07
The function did in fact return None, but the assertRaises was wrongly
written, so it did not test that the function raises anything.
@PetrDlouhy PetrDlouhy merged commit d398c63 into mixcloud:master May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Cookie goals doesn't work
3 participants