-
Notifications
You must be signed in to change notification settings - Fork 103
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
[IMPORT] check permission when habitat is imported on existing station #3209
Conversation
… we now check permissions on the latter
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feat/import #3209 +/- ##
===============================================
+ Coverage 83.52% 83.54% +0.01%
===============================================
Files 121 121
Lines 9548 9559 +11
===============================================
+ Hits 7975 7986 +11
Misses 1573 1573
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…ation_permissions`
@@ -205,6 +216,18 @@ def station(datasets): | |||
return station | |||
|
|||
|
|||
@pytest.fixture(scope="function") | |||
def station_other_dataset(datasets): |
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.
def station_other_dataset(datasets): | |
def station_stranger_dataset(datasets): |
This PR propose a new check to verify if a user got required permissions to import a new habitat in an existing station.