-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
faa113c
commit cb5cba0
Showing
6 changed files
with
57 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
from unittest import mock | ||
|
||
from django.conf import settings | ||
from django.db import IntegrityError | ||
|
||
|
@@ -330,8 +328,7 @@ class DatasetVersionTest(GraphQLTestCase, DatasetTestMixin): | |
def setUpTestData(cls): | ||
get_storage().create_bucket(settings.WORKSPACE_DATASETS_BUCKET) | ||
|
||
@mock.patch("hexa.datasets.schema.mutations.track") | ||
def test_create_dataset_version(self, mocked_track): | ||
def test_create_dataset_version(self): | ||
superuser = self.create_user("[email protected]", is_superuser=True) | ||
|
||
workspace = self.create_workspace(superuser, "Workspace", "Description") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters