-
Notifications
You must be signed in to change notification settings - Fork 7
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
chore: proposal to update the terminal output for the login #140
Conversation
tests/test_command_line_interface.py
Outdated
b"Downloading CMEMS data requires a Copernicus Marine username " | ||
b"and password, sign up for free at:" | ||
b" https://data.marine.copernicus.eu/register" | ||
) in self.output.stderr | ||
assert b"username:" in self.output.stdout |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check that "copernicusmarine username:" is in the stdout
and maybe the password too 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure we are entering anything, so not that sure that "coperniscusmarine password" appears there.... but I'll try. Do you prefer that I enter something to check if not?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yeah true :D You can try by putting an input in the execute_command
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check the tests and where they failed, it is this! We don't check that the password exists.
Fixes #139 (added this to make sure the PR is linked to the issue, but it does not seem to work) |
Making it easier for users to understand the login functionality.
Making it easier for users to understand the login functionality.
Trying to followup on Issue-139. Seems like a good idea to point out where the registration is from within the toolbox.
Not sure if the option of having it in the ReadMe is enough, to be discussed.