Skip to content

Conversation

0golovatyi
Copy link
Contributor

No description provided.

Copy link
Contributor

@johng42 johng42 left a comment

Choose a reason for hiding this comment

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

looks good

Copy link
Contributor

@sbabayan sbabayan left a 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
Copy link
Contributor

Choose a reason for hiding this comment

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

Python*

Copy link
Contributor Author

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.
Copy link
Contributor

Choose a reason for hiding this comment

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

authentication*

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed

- [Authentication](#authentication)
* [Enabling Authentication](#enabling-authentication)
* [Password File](#password-file)
* [setting Up Environmnet](#setting-up-environmnet)
Copy link
Contributor

Choose a reason for hiding this comment

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

Capital S

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed

self.tmp_dir = tempfile.mkdtemp(prefix=prefix)

# create temporary state.ini
self.state_file = open(os.path.join(self.tmp_dir, 'state.ini'), 'w+')
Copy link
Contributor

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?

Copy link
Contributor Author

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
Copy link
Contributor

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.

@0golovatyi
Copy link
Contributor Author

Added new integration tests and fixes for code review feedback.

@0golovatyi 0golovatyi requested a review from jnegara April 25, 2019 22:37
@jnegara jnegara merged commit 50a3525 into dev Apr 25, 2019
@jnegara jnegara deleted the dev_ci_integ branch April 25, 2019 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants