-
Notifications
You must be signed in to change notification settings - Fork 3
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
Showing
12 changed files
with
28 additions
and
28 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
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 |
---|---|---|
|
@@ -21,12 +21,12 @@ | |
) | ||
|
||
|
||
@pytest.fixture() | ||
@pytest.fixture | ||
def scicat_client(client: Client) -> ScicatClient: | ||
return client.scicat | ||
|
||
|
||
@pytest.fixture() | ||
@pytest.fixture | ||
def derived_dataset(scicat_access): | ||
return UploadDerivedDataset( | ||
contactEmail="[email protected]", | ||
|
@@ -43,7 +43,7 @@ def derived_dataset(scicat_access): | |
) | ||
|
||
|
||
@pytest.fixture() | ||
@pytest.fixture | ||
def attachment(scicat_access): | ||
return UploadAttachment( | ||
caption="An attachment", | ||
|
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 |
---|---|---|
|
@@ -18,12 +18,12 @@ | |
) | ||
|
||
|
||
@pytest.fixture() | ||
@pytest.fixture | ||
def scicat_client(client: Client) -> ScicatClient: | ||
return client.scicat | ||
|
||
|
||
@pytest.fixture() | ||
@pytest.fixture | ||
def derived_dataset(scicat_access): | ||
return UploadDerivedDataset( | ||
contactEmail="[email protected]", | ||
|
@@ -40,7 +40,7 @@ def derived_dataset(scicat_access): | |
) | ||
|
||
|
||
@pytest.fixture() | ||
@pytest.fixture | ||
def orig_datablock(scicat_access): | ||
# NOTE the placeholder! | ||
return UploadOrigDatablock( | ||
|
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 |
---|---|---|
|
@@ -18,12 +18,12 @@ | |
) | ||
|
||
|
||
@pytest.fixture() | ||
@pytest.fixture | ||
def scicat_client(client: Client) -> ScicatClient: | ||
return client.scicat | ||
|
||
|
||
@pytest.fixture() | ||
@pytest.fixture | ||
def derived_dataset(scicat_access): | ||
return UploadDerivedDataset( | ||
contactEmail="[email protected]", | ||
|
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
from .common.files import make_file | ||
|
||
|
||
@pytest.fixture() | ||
@pytest.fixture | ||
def raw_download_model(): | ||
return model.DownloadDataset( | ||
contactEmail="[email protected]", | ||
|
@@ -86,7 +86,7 @@ def raw_download_model(): | |
) | ||
|
||
|
||
@pytest.fixture() | ||
@pytest.fixture | ||
def derived_download_model(): | ||
return model.DownloadDataset( | ||
contactEmail="[email protected]", | ||
|
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 |
---|---|---|
|
@@ -22,7 +22,7 @@ def _checksum(data: bytes) -> str: | |
return checksum.hexdigest() | ||
|
||
|
||
@pytest.fixture() | ||
@pytest.fixture | ||
def data_files(): | ||
contents = { | ||
"file1.dat": b"contents-of-file1", | ||
|
@@ -41,7 +41,7 @@ def data_files(): | |
return files, contents | ||
|
||
|
||
@pytest.fixture() | ||
@pytest.fixture | ||
def dataset_and_files(data_files): | ||
model = DownloadDataset( | ||
contactEmail="[email protected]", | ||
|
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