-
Notifications
You must be signed in to change notification settings - Fork 604
Add CI integration tests #269
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
Conversation
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.
looks good
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 don't see a test for the bug that you fixed. The one where you try to access a nonexistent endpoint
CONTRIBUTING.md
Outdated
``` | ||
|
||
## Linux and Mac Specific Steps | ||
## TabPy in Pythong Virtual Environment |
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.
Python*
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.
Fixed
docs/api-v1.md
Outdated
--- | --- | ||
`required` | Authentication is never optional for client to use if it is mentioned in features list. | ||
`methods` | List of supported authentication methods with their properties. | ||
`methods.basic-auth` | TabPy requires to use basic access authenticatio, see [TabPy Server Configuration Instructions](server-config.md#authentication) for how to configure authentication. |
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.
authentication*
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.
Fixed
docs/server-config.md
Outdated
- [Authentication](#authentication) | ||
* [Enabling Authentication](#enabling-authentication) | ||
* [Password File](#password-file) | ||
* [setting Up Environmnet](#setting-up-environmnet) |
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.
Capital S
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.
Fixed
tests/integration/test_auth.py
Outdated
self.tmp_dir = tempfile.mkdtemp(prefix=prefix) | ||
|
||
# create temporary state.ini | ||
self.state_file = open(os.path.join(self.tmp_dir, 'state.ini'), 'w+') |
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.
rather than creating a temporary state.ini and config for each test run, should we just keep local copies in the test folder?
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.
One reason I didn't do it is we can move this code in some integration test base class to be reused. This is why I want to keep it as generic as possible right now - we will need new state.ini for models tests.
CONTRIBUTING.md
Outdated
|
||
If you have downloaded Tabpy and would like to manually install Tabpy Server | ||
not using pip then follow the steps below [to run TabPy in Python virtual environment](docs/tabpy-virtualenv.md). | ||
not using pip then follow the steps below |
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.
We don't support installing TabPy via pip anymore.
Added new integration tests and fixes for code review feedback. |
No description provided.