From c5035bafd3c1700621d0aee12a2aa5b2fcc145c3 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 9 Jan 2019 11:29:42 -0800 Subject: continue breaking out python client --- python_client/.gitignore | 9 + python_client/README.md | 208 ++++++++ python_client/codegen_python_client.sh | 9 +- python_client/conftest.py | 8 + python_client/fatcat_client/README.md | 208 -------- python_client/pytest.ini | 10 + python_client/setup.py | 4 +- python_client/tests/codegen/__init__.py | 0 python_client/tests/codegen/test_auth_oidc.py | 40 ++ .../tests/codegen/test_auth_oidc_result.py | 40 ++ .../tests/codegen/test_changelog_entry.py | 40 ++ .../tests/codegen/test_container_entity.py | 40 ++ python_client/tests/codegen/test_creator_entity.py | 40 ++ python_client/tests/codegen/test_default_api.py | 568 +++++++++++++++++++++ python_client/tests/codegen/test_editgroup.py | 40 ++ .../tests/codegen/test_editgroup_edits.py | 40 ++ python_client/tests/codegen/test_editor.py | 40 ++ python_client/tests/codegen/test_entity_edit.py | 40 ++ .../tests/codegen/test_entity_history_entry.py | 40 ++ python_client/tests/codegen/test_error_response.py | 40 ++ python_client/tests/codegen/test_file_entity.py | 40 ++ .../tests/codegen/test_file_entity_urls.py | 40 ++ python_client/tests/codegen/test_fileset_entity.py | 40 ++ .../tests/codegen/test_fileset_entity_manifest.py | 40 ++ .../tests/codegen/test_release_contrib.py | 40 ++ python_client/tests/codegen/test_release_entity.py | 40 ++ .../tests/codegen/test_release_entity_abstracts.py | 40 ++ python_client/tests/codegen/test_release_ref.py | 40 ++ python_client/tests/codegen/test_success.py | 40 ++ .../tests/codegen/test_webcapture_entity.py | 40 ++ .../codegen/test_webcapture_entity_archive_urls.py | 40 ++ .../tests/codegen/test_webcapture_entity_cdx.py | 40 ++ python_client/tests/codegen/test_work_entity.py | 40 ++ 33 files changed, 1771 insertions(+), 213 deletions(-) create mode 100644 python_client/.gitignore create mode 100644 python_client/README.md create mode 100644 python_client/conftest.py delete mode 100644 python_client/fatcat_client/README.md create mode 100644 python_client/pytest.ini create mode 100644 python_client/tests/codegen/__init__.py create mode 100644 python_client/tests/codegen/test_auth_oidc.py create mode 100644 python_client/tests/codegen/test_auth_oidc_result.py create mode 100644 python_client/tests/codegen/test_changelog_entry.py create mode 100644 python_client/tests/codegen/test_container_entity.py create mode 100644 python_client/tests/codegen/test_creator_entity.py create mode 100644 python_client/tests/codegen/test_default_api.py create mode 100644 python_client/tests/codegen/test_editgroup.py create mode 100644 python_client/tests/codegen/test_editgroup_edits.py create mode 100644 python_client/tests/codegen/test_editor.py create mode 100644 python_client/tests/codegen/test_entity_edit.py create mode 100644 python_client/tests/codegen/test_entity_history_entry.py create mode 100644 python_client/tests/codegen/test_error_response.py create mode 100644 python_client/tests/codegen/test_file_entity.py create mode 100644 python_client/tests/codegen/test_file_entity_urls.py create mode 100644 python_client/tests/codegen/test_fileset_entity.py create mode 100644 python_client/tests/codegen/test_fileset_entity_manifest.py create mode 100644 python_client/tests/codegen/test_release_contrib.py create mode 100644 python_client/tests/codegen/test_release_entity.py create mode 100644 python_client/tests/codegen/test_release_entity_abstracts.py create mode 100644 python_client/tests/codegen/test_release_ref.py create mode 100644 python_client/tests/codegen/test_success.py create mode 100644 python_client/tests/codegen/test_webcapture_entity.py create mode 100644 python_client/tests/codegen/test_webcapture_entity_archive_urls.py create mode 100644 python_client/tests/codegen/test_webcapture_entity_cdx.py create mode 100644 python_client/tests/codegen/test_work_entity.py (limited to 'python_client') diff --git a/python_client/.gitignore b/python_client/.gitignore new file mode 100644 index 00000000..a0bc258b --- /dev/null +++ b/python_client/.gitignore @@ -0,0 +1,9 @@ +.env +codegen-out/ +build/ +dist/ +*.egg-info +*.json.gz +!.coveragerc +!.pylintrc +!.gitignore diff --git a/python_client/README.md b/python_client/README.md new file mode 100644 index 00000000..8704641e --- /dev/null +++ b/python_client/README.md @@ -0,0 +1,208 @@ +# fatcat-client +A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata + +This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: + +- API version: 0.1.0 +- Package version: 1.0.0 +- Build package: io.swagger.codegen.languages.PythonClientCodegen + +## Requirements. + +Python 2.7 and 3.4+ + +## Installation & Usage +### pip install + +If the python package is hosted on Github, you can install directly from Github + +```sh +pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git +``` +(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`) + +Then import the package: +```python +import fatcat_client +``` + +### Setuptools + +Install via [Setuptools](http://pypi.python.org/pypi/setuptools). + +```sh +python setup.py install --user +``` +(or `sudo python setup.py install` to install the package for all users) + +Then import the package: +```python +import fatcat_client +``` + +## Getting Started + +Please follow the [installation procedure](#installation--usage) and then run the following: + +```python +from __future__ import print_function +import time +import fatcat_client +from fatcat_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: Bearer +fatcat_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# fatcat_client.configuration.api_key_prefix['Authorization'] = 'Bearer' +# create an instance of the API class +api_instance = fatcat_client.DefaultApi() +editgroup_id = 'editgroup_id_example' # str | base32-encoded unique identifier + +try: + api_response = api_instance.accept_editgroup(editgroup_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling DefaultApi->accept_editgroup: %s\n" % e) + +``` + +## Documentation for API Endpoints + +All URIs are relative to *https://api.fatcat.wiki/v0* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DefaultApi* | [**accept_editgroup**](docs/DefaultApi.md#accept_editgroup) | **POST** /editgroup/{editgroup_id}/accept | +*DefaultApi* | [**auth_check**](docs/DefaultApi.md#auth_check) | **GET** /auth/check | +*DefaultApi* | [**auth_oidc**](docs/DefaultApi.md#auth_oidc) | **POST** /auth/oidc | +*DefaultApi* | [**create_container**](docs/DefaultApi.md#create_container) | **POST** /container | +*DefaultApi* | [**create_container_batch**](docs/DefaultApi.md#create_container_batch) | **POST** /container/batch | +*DefaultApi* | [**create_creator**](docs/DefaultApi.md#create_creator) | **POST** /creator | +*DefaultApi* | [**create_creator_batch**](docs/DefaultApi.md#create_creator_batch) | **POST** /creator/batch | +*DefaultApi* | [**create_editgroup**](docs/DefaultApi.md#create_editgroup) | **POST** /editgroup | +*DefaultApi* | [**create_file**](docs/DefaultApi.md#create_file) | **POST** /file | +*DefaultApi* | [**create_file_batch**](docs/DefaultApi.md#create_file_batch) | **POST** /file/batch | +*DefaultApi* | [**create_fileset**](docs/DefaultApi.md#create_fileset) | **POST** /fileset | +*DefaultApi* | [**create_fileset_batch**](docs/DefaultApi.md#create_fileset_batch) | **POST** /fileset/batch | +*DefaultApi* | [**create_release**](docs/DefaultApi.md#create_release) | **POST** /release | +*DefaultApi* | [**create_release_batch**](docs/DefaultApi.md#create_release_batch) | **POST** /release/batch | +*DefaultApi* | [**create_webcapture**](docs/DefaultApi.md#create_webcapture) | **POST** /webcapture | +*DefaultApi* | [**create_webcapture_batch**](docs/DefaultApi.md#create_webcapture_batch) | **POST** /webcapture/batch | +*DefaultApi* | [**create_work**](docs/DefaultApi.md#create_work) | **POST** /work | +*DefaultApi* | [**create_work_batch**](docs/DefaultApi.md#create_work_batch) | **POST** /work/batch | +*DefaultApi* | [**delete_container**](docs/DefaultApi.md#delete_container) | **DELETE** /container/{ident} | +*DefaultApi* | [**delete_container_edit**](docs/DefaultApi.md#delete_container_edit) | **DELETE** /container/edit/{edit_id} | +*DefaultApi* | [**delete_creator**](docs/DefaultApi.md#delete_creator) | **DELETE** /creator/{ident} | +*DefaultApi* | [**delete_creator_edit**](docs/DefaultApi.md#delete_creator_edit) | **DELETE** /creator/edit/{edit_id} | +*DefaultApi* | [**delete_file**](docs/DefaultApi.md#delete_file) | **DELETE** /file/{ident} | +*DefaultApi* | [**delete_file_edit**](docs/DefaultApi.md#delete_file_edit) | **DELETE** /file/edit/{edit_id} | +*DefaultApi* | [**delete_fileset**](docs/DefaultApi.md#delete_fileset) | **DELETE** /fileset/{ident} | +*DefaultApi* | [**delete_fileset_edit**](docs/DefaultApi.md#delete_fileset_edit) | **DELETE** /fileset/edit/{edit_id} | +*DefaultApi* | [**delete_release**](docs/DefaultApi.md#delete_release) | **DELETE** /release/{ident} | +*DefaultApi* | [**delete_release_edit**](docs/DefaultApi.md#delete_release_edit) | **DELETE** /release/edit/{edit_id} | +*DefaultApi* | [**delete_webcapture**](docs/DefaultApi.md#delete_webcapture) | **DELETE** /webcapture/{ident} | +*DefaultApi* | [**delete_webcapture_edit**](docs/DefaultApi.md#delete_webcapture_edit) | **DELETE** /webcapture/edit/{edit_id} | +*DefaultApi* | [**delete_work**](docs/DefaultApi.md#delete_work) | **DELETE** /work/{ident} | +*DefaultApi* | [**delete_work_edit**](docs/DefaultApi.md#delete_work_edit) | **DELETE** /work/edit/{edit_id} | +*DefaultApi* | [**get_changelog**](docs/DefaultApi.md#get_changelog) | **GET** /changelog | +*DefaultApi* | [**get_changelog_entry**](docs/DefaultApi.md#get_changelog_entry) | **GET** /changelog/{index} | +*DefaultApi* | [**get_container**](docs/DefaultApi.md#get_container) | **GET** /container/{ident} | +*DefaultApi* | [**get_container_edit**](docs/DefaultApi.md#get_container_edit) | **GET** /container/edit/{edit_id} | +*DefaultApi* | [**get_container_history**](docs/DefaultApi.md#get_container_history) | **GET** /container/{ident}/history | +*DefaultApi* | [**get_container_redirects**](docs/DefaultApi.md#get_container_redirects) | **GET** /container/{ident}/redirects | +*DefaultApi* | [**get_container_revision**](docs/DefaultApi.md#get_container_revision) | **GET** /container/rev/{rev_id} | +*DefaultApi* | [**get_creator**](docs/DefaultApi.md#get_creator) | **GET** /creator/{ident} | +*DefaultApi* | [**get_creator_edit**](docs/DefaultApi.md#get_creator_edit) | **GET** /creator/edit/{edit_id} | +*DefaultApi* | [**get_creator_history**](docs/DefaultApi.md#get_creator_history) | **GET** /creator/{ident}/history | +*DefaultApi* | [**get_creator_redirects**](docs/DefaultApi.md#get_creator_redirects) | **GET** /creator/{ident}/redirects | +*DefaultApi* | [**get_creator_releases**](docs/DefaultApi.md#get_creator_releases) | **GET** /creator/{ident}/releases | +*DefaultApi* | [**get_creator_revision**](docs/DefaultApi.md#get_creator_revision) | **GET** /creator/rev/{rev_id} | +*DefaultApi* | [**get_editgroup**](docs/DefaultApi.md#get_editgroup) | **GET** /editgroup/{editgroup_id} | +*DefaultApi* | [**get_editor**](docs/DefaultApi.md#get_editor) | **GET** /editor/{editor_id} | +*DefaultApi* | [**get_editor_changelog**](docs/DefaultApi.md#get_editor_changelog) | **GET** /editor/{editor_id}/changelog | +*DefaultApi* | [**get_file**](docs/DefaultApi.md#get_file) | **GET** /file/{ident} | +*DefaultApi* | [**get_file_edit**](docs/DefaultApi.md#get_file_edit) | **GET** /file/edit/{edit_id} | +*DefaultApi* | [**get_file_history**](docs/DefaultApi.md#get_file_history) | **GET** /file/{ident}/history | +*DefaultApi* | [**get_file_redirects**](docs/DefaultApi.md#get_file_redirects) | **GET** /file/{ident}/redirects | +*DefaultApi* | [**get_file_revision**](docs/DefaultApi.md#get_file_revision) | **GET** /file/rev/{rev_id} | +*DefaultApi* | [**get_fileset**](docs/DefaultApi.md#get_fileset) | **GET** /fileset/{ident} | +*DefaultApi* | [**get_fileset_edit**](docs/DefaultApi.md#get_fileset_edit) | **GET** /fileset/edit/{edit_id} | +*DefaultApi* | [**get_fileset_history**](docs/DefaultApi.md#get_fileset_history) | **GET** /fileset/{ident}/history | +*DefaultApi* | [**get_fileset_redirects**](docs/DefaultApi.md#get_fileset_redirects) | **GET** /fileset/{ident}/redirects | +*DefaultApi* | [**get_fileset_revision**](docs/DefaultApi.md#get_fileset_revision) | **GET** /fileset/rev/{rev_id} | +*DefaultApi* | [**get_release**](docs/DefaultApi.md#get_release) | **GET** /release/{ident} | +*DefaultApi* | [**get_release_edit**](docs/DefaultApi.md#get_release_edit) | **GET** /release/edit/{edit_id} | +*DefaultApi* | [**get_release_files**](docs/DefaultApi.md#get_release_files) | **GET** /release/{ident}/files | +*DefaultApi* | [**get_release_filesets**](docs/DefaultApi.md#get_release_filesets) | **GET** /release/{ident}/filesets | +*DefaultApi* | [**get_release_history**](docs/DefaultApi.md#get_release_history) | **GET** /release/{ident}/history | +*DefaultApi* | [**get_release_redirects**](docs/DefaultApi.md#get_release_redirects) | **GET** /release/{ident}/redirects | +*DefaultApi* | [**get_release_revision**](docs/DefaultApi.md#get_release_revision) | **GET** /release/rev/{rev_id} | +*DefaultApi* | [**get_release_webcaptures**](docs/DefaultApi.md#get_release_webcaptures) | **GET** /release/{ident}/webcaptures | +*DefaultApi* | [**get_webcapture**](docs/DefaultApi.md#get_webcapture) | **GET** /webcapture/{ident} | +*DefaultApi* | [**get_webcapture_edit**](docs/DefaultApi.md#get_webcapture_edit) | **GET** /webcapture/edit/{edit_id} | +*DefaultApi* | [**get_webcapture_history**](docs/DefaultApi.md#get_webcapture_history) | **GET** /webcapture/{ident}/history | +*DefaultApi* | [**get_webcapture_redirects**](docs/DefaultApi.md#get_webcapture_redirects) | **GET** /webcapture/{ident}/redirects | +*DefaultApi* | [**get_webcapture_revision**](docs/DefaultApi.md#get_webcapture_revision) | **GET** /webcapture/rev/{rev_id} | +*DefaultApi* | [**get_work**](docs/DefaultApi.md#get_work) | **GET** /work/{ident} | +*DefaultApi* | [**get_work_edit**](docs/DefaultApi.md#get_work_edit) | **GET** /work/edit/{edit_id} | +*DefaultApi* | [**get_work_history**](docs/DefaultApi.md#get_work_history) | **GET** /work/{ident}/history | +*DefaultApi* | [**get_work_redirects**](docs/DefaultApi.md#get_work_redirects) | **GET** /work/{ident}/redirects | +*DefaultApi* | [**get_work_releases**](docs/DefaultApi.md#get_work_releases) | **GET** /work/{ident}/releases | +*DefaultApi* | [**get_work_revision**](docs/DefaultApi.md#get_work_revision) | **GET** /work/rev/{rev_id} | +*DefaultApi* | [**lookup_container**](docs/DefaultApi.md#lookup_container) | **GET** /container/lookup | +*DefaultApi* | [**lookup_creator**](docs/DefaultApi.md#lookup_creator) | **GET** /creator/lookup | +*DefaultApi* | [**lookup_file**](docs/DefaultApi.md#lookup_file) | **GET** /file/lookup | +*DefaultApi* | [**lookup_release**](docs/DefaultApi.md#lookup_release) | **GET** /release/lookup | +*DefaultApi* | [**update_container**](docs/DefaultApi.md#update_container) | **PUT** /container/{ident} | +*DefaultApi* | [**update_creator**](docs/DefaultApi.md#update_creator) | **PUT** /creator/{ident} | +*DefaultApi* | [**update_editor**](docs/DefaultApi.md#update_editor) | **PUT** /editor/{editor_id} | +*DefaultApi* | [**update_file**](docs/DefaultApi.md#update_file) | **PUT** /file/{ident} | +*DefaultApi* | [**update_fileset**](docs/DefaultApi.md#update_fileset) | **PUT** /fileset/{ident} | +*DefaultApi* | [**update_release**](docs/DefaultApi.md#update_release) | **PUT** /release/{ident} | +*DefaultApi* | [**update_webcapture**](docs/DefaultApi.md#update_webcapture) | **PUT** /webcapture/{ident} | +*DefaultApi* | [**update_work**](docs/DefaultApi.md#update_work) | **PUT** /work/{ident} | + + +## Documentation For Models + + - [AuthOidc](docs/AuthOidc.md) + - [AuthOidcResult](docs/AuthOidcResult.md) + - [ChangelogEntry](docs/ChangelogEntry.md) + - [ContainerEntity](docs/ContainerEntity.md) + - [CreatorEntity](docs/CreatorEntity.md) + - [Editgroup](docs/Editgroup.md) + - [EditgroupEdits](docs/EditgroupEdits.md) + - [Editor](docs/Editor.md) + - [EntityEdit](docs/EntityEdit.md) + - [EntityHistoryEntry](docs/EntityHistoryEntry.md) + - [ErrorResponse](docs/ErrorResponse.md) + - [FileEntity](docs/FileEntity.md) + - [FileEntityUrls](docs/FileEntityUrls.md) + - [FilesetEntity](docs/FilesetEntity.md) + - [FilesetEntityManifest](docs/FilesetEntityManifest.md) + - [ReleaseContrib](docs/ReleaseContrib.md) + - [ReleaseEntity](docs/ReleaseEntity.md) + - [ReleaseEntityAbstracts](docs/ReleaseEntityAbstracts.md) + - [ReleaseRef](docs/ReleaseRef.md) + - [Success](docs/Success.md) + - [WebcaptureEntity](docs/WebcaptureEntity.md) + - [WebcaptureEntityArchiveUrls](docs/WebcaptureEntityArchiveUrls.md) + - [WebcaptureEntityCdx](docs/WebcaptureEntityCdx.md) + - [WorkEntity](docs/WorkEntity.md) + + +## Documentation For Authorization + + +## Bearer + +- **Type**: API key +- **API key parameter name**: Authorization +- **Location**: HTTP header + + +## Author + + + diff --git a/python_client/codegen_python_client.sh b/python_client/codegen_python_client.sh index 85d12dc4..5ab0ff92 100755 --- a/python_client/codegen_python_client.sh +++ b/python_client/codegen_python_client.sh @@ -22,9 +22,12 @@ docker run \ sudo chown -R `whoami`:`whoami` $OUTPUT mkdir -p fatcat_client -mkdir -p tests/codegen_tests cp -r $OUTPUT/fatcat_client/* fatcat_client -cp -r $OUTPUT/test/* tests/codegen_tests -cp $OUTPUT/README.md fatcat_client/README.md +cp $OUTPUT/README.md README.md + +# these tests are basically no-ops +mkdir -p tests/codegen +cp -r $OUTPUT/test/* tests/codegen + # ooo, this makes me nervous rm -rf $OUTPUT diff --git a/python_client/conftest.py b/python_client/conftest.py new file mode 100644 index 00000000..c2a31562 --- /dev/null +++ b/python_client/conftest.py @@ -0,0 +1,8 @@ +""" +This file exists soley to prevent pytest from trying to import/test the +fatcat_client ./setup.py file. +""" + +import sys + +collect_ignore = ["setup.py"] diff --git a/python_client/fatcat_client/README.md b/python_client/fatcat_client/README.md deleted file mode 100644 index 8704641e..00000000 --- a/python_client/fatcat_client/README.md +++ /dev/null @@ -1,208 +0,0 @@ -# fatcat-client -A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata - -This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - -- API version: 0.1.0 -- Package version: 1.0.0 -- Build package: io.swagger.codegen.languages.PythonClientCodegen - -## Requirements. - -Python 2.7 and 3.4+ - -## Installation & Usage -### pip install - -If the python package is hosted on Github, you can install directly from Github - -```sh -pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git -``` -(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`) - -Then import the package: -```python -import fatcat_client -``` - -### Setuptools - -Install via [Setuptools](http://pypi.python.org/pypi/setuptools). - -```sh -python setup.py install --user -``` -(or `sudo python setup.py install` to install the package for all users) - -Then import the package: -```python -import fatcat_client -``` - -## Getting Started - -Please follow the [installation procedure](#installation--usage) and then run the following: - -```python -from __future__ import print_function -import time -import fatcat_client -from fatcat_client.rest import ApiException -from pprint import pprint - -# Configure API key authorization: Bearer -fatcat_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# fatcat_client.configuration.api_key_prefix['Authorization'] = 'Bearer' -# create an instance of the API class -api_instance = fatcat_client.DefaultApi() -editgroup_id = 'editgroup_id_example' # str | base32-encoded unique identifier - -try: - api_response = api_instance.accept_editgroup(editgroup_id) - pprint(api_response) -except ApiException as e: - print("Exception when calling DefaultApi->accept_editgroup: %s\n" % e) - -``` - -## Documentation for API Endpoints - -All URIs are relative to *https://api.fatcat.wiki/v0* - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*DefaultApi* | [**accept_editgroup**](docs/DefaultApi.md#accept_editgroup) | **POST** /editgroup/{editgroup_id}/accept | -*DefaultApi* | [**auth_check**](docs/DefaultApi.md#auth_check) | **GET** /auth/check | -*DefaultApi* | [**auth_oidc**](docs/DefaultApi.md#auth_oidc) | **POST** /auth/oidc | -*DefaultApi* | [**create_container**](docs/DefaultApi.md#create_container) | **POST** /container | -*DefaultApi* | [**create_container_batch**](docs/DefaultApi.md#create_container_batch) | **POST** /container/batch | -*DefaultApi* | [**create_creator**](docs/DefaultApi.md#create_creator) | **POST** /creator | -*DefaultApi* | [**create_creator_batch**](docs/DefaultApi.md#create_creator_batch) | **POST** /creator/batch | -*DefaultApi* | [**create_editgroup**](docs/DefaultApi.md#create_editgroup) | **POST** /editgroup | -*DefaultApi* | [**create_file**](docs/DefaultApi.md#create_file) | **POST** /file | -*DefaultApi* | [**create_file_batch**](docs/DefaultApi.md#create_file_batch) | **POST** /file/batch | -*DefaultApi* | [**create_fileset**](docs/DefaultApi.md#create_fileset) | **POST** /fileset | -*DefaultApi* | [**create_fileset_batch**](docs/DefaultApi.md#create_fileset_batch) | **POST** /fileset/batch | -*DefaultApi* | [**create_release**](docs/DefaultApi.md#create_release) | **POST** /release | -*DefaultApi* | [**create_release_batch**](docs/DefaultApi.md#create_release_batch) | **POST** /release/batch | -*DefaultApi* | [**create_webcapture**](docs/DefaultApi.md#create_webcapture) | **POST** /webcapture | -*DefaultApi* | [**create_webcapture_batch**](docs/DefaultApi.md#create_webcapture_batch) | **POST** /webcapture/batch | -*DefaultApi* | [**create_work**](docs/DefaultApi.md#create_work) | **POST** /work | -*DefaultApi* | [**create_work_batch**](docs/DefaultApi.md#create_work_batch) | **POST** /work/batch | -*DefaultApi* | [**delete_container**](docs/DefaultApi.md#delete_container) | **DELETE** /container/{ident} | -*DefaultApi* | [**delete_container_edit**](docs/DefaultApi.md#delete_container_edit) | **DELETE** /container/edit/{edit_id} | -*DefaultApi* | [**delete_creator**](docs/DefaultApi.md#delete_creator) | **DELETE** /creator/{ident} | -*DefaultApi* | [**delete_creator_edit**](docs/DefaultApi.md#delete_creator_edit) | **DELETE** /creator/edit/{edit_id} | -*DefaultApi* | [**delete_file**](docs/DefaultApi.md#delete_file) | **DELETE** /file/{ident} | -*DefaultApi* | [**delete_file_edit**](docs/DefaultApi.md#delete_file_edit) | **DELETE** /file/edit/{edit_id} | -*DefaultApi* | [**delete_fileset**](docs/DefaultApi.md#delete_fileset) | **DELETE** /fileset/{ident} | -*DefaultApi* | [**delete_fileset_edit**](docs/DefaultApi.md#delete_fileset_edit) | **DELETE** /fileset/edit/{edit_id} | -*DefaultApi* | [**delete_release**](docs/DefaultApi.md#delete_release) | **DELETE** /release/{ident} | -*DefaultApi* | [**delete_release_edit**](docs/DefaultApi.md#delete_release_edit) | **DELETE** /release/edit/{edit_id} | -*DefaultApi* | [**delete_webcapture**](docs/DefaultApi.md#delete_webcapture) | **DELETE** /webcapture/{ident} | -*DefaultApi* | [**delete_webcapture_edit**](docs/DefaultApi.md#delete_webcapture_edit) | **DELETE** /webcapture/edit/{edit_id} | -*DefaultApi* | [**delete_work**](docs/DefaultApi.md#delete_work) | **DELETE** /work/{ident} | -*DefaultApi* | [**delete_work_edit**](docs/DefaultApi.md#delete_work_edit) | **DELETE** /work/edit/{edit_id} | -*DefaultApi* | [**get_changelog**](docs/DefaultApi.md#get_changelog) | **GET** /changelog | -*DefaultApi* | [**get_changelog_entry**](docs/DefaultApi.md#get_changelog_entry) | **GET** /changelog/{index} | -*DefaultApi* | [**get_container**](docs/DefaultApi.md#get_container) | **GET** /container/{ident} | -*DefaultApi* | [**get_container_edit**](docs/DefaultApi.md#get_container_edit) | **GET** /container/edit/{edit_id} | -*DefaultApi* | [**get_container_history**](docs/DefaultApi.md#get_container_history) | **GET** /container/{ident}/history | -*DefaultApi* | [**get_container_redirects**](docs/DefaultApi.md#get_container_redirects) | **GET** /container/{ident}/redirects | -*DefaultApi* | [**get_container_revision**](docs/DefaultApi.md#get_container_revision) | **GET** /container/rev/{rev_id} | -*DefaultApi* | [**get_creator**](docs/DefaultApi.md#get_creator) | **GET** /creator/{ident} | -*DefaultApi* | [**get_creator_edit**](docs/DefaultApi.md#get_creator_edit) | **GET** /creator/edit/{edit_id} | -*DefaultApi* | [**get_creator_history**](docs/DefaultApi.md#get_creator_history) | **GET** /creator/{ident}/history | -*DefaultApi* | [**get_creator_redirects**](docs/DefaultApi.md#get_creator_redirects) | **GET** /creator/{ident}/redirects | -*DefaultApi* | [**get_creator_releases**](docs/DefaultApi.md#get_creator_releases) | **GET** /creator/{ident}/releases | -*DefaultApi* | [**get_creator_revision**](docs/DefaultApi.md#get_creator_revision) | **GET** /creator/rev/{rev_id} | -*DefaultApi* | [**get_editgroup**](docs/DefaultApi.md#get_editgroup) | **GET** /editgroup/{editgroup_id} | -*DefaultApi* | [**get_editor**](docs/DefaultApi.md#get_editor) | **GET** /editor/{editor_id} | -*DefaultApi* | [**get_editor_changelog**](docs/DefaultApi.md#get_editor_changelog) | **GET** /editor/{editor_id}/changelog | -*DefaultApi* | [**get_file**](docs/DefaultApi.md#get_file) | **GET** /file/{ident} | -*DefaultApi* | [**get_file_edit**](docs/DefaultApi.md#get_file_edit) | **GET** /file/edit/{edit_id} | -*DefaultApi* | [**get_file_history**](docs/DefaultApi.md#get_file_history) | **GET** /file/{ident}/history | -*DefaultApi* | [**get_file_redirects**](docs/DefaultApi.md#get_file_redirects) | **GET** /file/{ident}/redirects | -*DefaultApi* | [**get_file_revision**](docs/DefaultApi.md#get_file_revision) | **GET** /file/rev/{rev_id} | -*DefaultApi* | [**get_fileset**](docs/DefaultApi.md#get_fileset) | **GET** /fileset/{ident} | -*DefaultApi* | [**get_fileset_edit**](docs/DefaultApi.md#get_fileset_edit) | **GET** /fileset/edit/{edit_id} | -*DefaultApi* | [**get_fileset_history**](docs/DefaultApi.md#get_fileset_history) | **GET** /fileset/{ident}/history | -*DefaultApi* | [**get_fileset_redirects**](docs/DefaultApi.md#get_fileset_redirects) | **GET** /fileset/{ident}/redirects | -*DefaultApi* | [**get_fileset_revision**](docs/DefaultApi.md#get_fileset_revision) | **GET** /fileset/rev/{rev_id} | -*DefaultApi* | [**get_release**](docs/DefaultApi.md#get_release) | **GET** /release/{ident} | -*DefaultApi* | [**get_release_edit**](docs/DefaultApi.md#get_release_edit) | **GET** /release/edit/{edit_id} | -*DefaultApi* | [**get_release_files**](docs/DefaultApi.md#get_release_files) | **GET** /release/{ident}/files | -*DefaultApi* | [**get_release_filesets**](docs/DefaultApi.md#get_release_filesets) | **GET** /release/{ident}/filesets | -*DefaultApi* | [**get_release_history**](docs/DefaultApi.md#get_release_history) | **GET** /release/{ident}/history | -*DefaultApi* | [**get_release_redirects**](docs/DefaultApi.md#get_release_redirects) | **GET** /release/{ident}/redirects | -*DefaultApi* | [**get_release_revision**](docs/DefaultApi.md#get_release_revision) | **GET** /release/rev/{rev_id} | -*DefaultApi* | [**get_release_webcaptures**](docs/DefaultApi.md#get_release_webcaptures) | **GET** /release/{ident}/webcaptures | -*DefaultApi* | [**get_webcapture**](docs/DefaultApi.md#get_webcapture) | **GET** /webcapture/{ident} | -*DefaultApi* | [**get_webcapture_edit**](docs/DefaultApi.md#get_webcapture_edit) | **GET** /webcapture/edit/{edit_id} | -*DefaultApi* | [**get_webcapture_history**](docs/DefaultApi.md#get_webcapture_history) | **GET** /webcapture/{ident}/history | -*DefaultApi* | [**get_webcapture_redirects**](docs/DefaultApi.md#get_webcapture_redirects) | **GET** /webcapture/{ident}/redirects | -*DefaultApi* | [**get_webcapture_revision**](docs/DefaultApi.md#get_webcapture_revision) | **GET** /webcapture/rev/{rev_id} | -*DefaultApi* | [**get_work**](docs/DefaultApi.md#get_work) | **GET** /work/{ident} | -*DefaultApi* | [**get_work_edit**](docs/DefaultApi.md#get_work_edit) | **GET** /work/edit/{edit_id} | -*DefaultApi* | [**get_work_history**](docs/DefaultApi.md#get_work_history) | **GET** /work/{ident}/history | -*DefaultApi* | [**get_work_redirects**](docs/DefaultApi.md#get_work_redirects) | **GET** /work/{ident}/redirects | -*DefaultApi* | [**get_work_releases**](docs/DefaultApi.md#get_work_releases) | **GET** /work/{ident}/releases | -*DefaultApi* | [**get_work_revision**](docs/DefaultApi.md#get_work_revision) | **GET** /work/rev/{rev_id} | -*DefaultApi* | [**lookup_container**](docs/DefaultApi.md#lookup_container) | **GET** /container/lookup | -*DefaultApi* | [**lookup_creator**](docs/DefaultApi.md#lookup_creator) | **GET** /creator/lookup | -*DefaultApi* | [**lookup_file**](docs/DefaultApi.md#lookup_file) | **GET** /file/lookup | -*DefaultApi* | [**lookup_release**](docs/DefaultApi.md#lookup_release) | **GET** /release/lookup | -*DefaultApi* | [**update_container**](docs/DefaultApi.md#update_container) | **PUT** /container/{ident} | -*DefaultApi* | [**update_creator**](docs/DefaultApi.md#update_creator) | **PUT** /creator/{ident} | -*DefaultApi* | [**update_editor**](docs/DefaultApi.md#update_editor) | **PUT** /editor/{editor_id} | -*DefaultApi* | [**update_file**](docs/DefaultApi.md#update_file) | **PUT** /file/{ident} | -*DefaultApi* | [**update_fileset**](docs/DefaultApi.md#update_fileset) | **PUT** /fileset/{ident} | -*DefaultApi* | [**update_release**](docs/DefaultApi.md#update_release) | **PUT** /release/{ident} | -*DefaultApi* | [**update_webcapture**](docs/DefaultApi.md#update_webcapture) | **PUT** /webcapture/{ident} | -*DefaultApi* | [**update_work**](docs/DefaultApi.md#update_work) | **PUT** /work/{ident} | - - -## Documentation For Models - - - [AuthOidc](docs/AuthOidc.md) - - [AuthOidcResult](docs/AuthOidcResult.md) - - [ChangelogEntry](docs/ChangelogEntry.md) - - [ContainerEntity](docs/ContainerEntity.md) - - [CreatorEntity](docs/CreatorEntity.md) - - [Editgroup](docs/Editgroup.md) - - [EditgroupEdits](docs/EditgroupEdits.md) - - [Editor](docs/Editor.md) - - [EntityEdit](docs/EntityEdit.md) - - [EntityHistoryEntry](docs/EntityHistoryEntry.md) - - [ErrorResponse](docs/ErrorResponse.md) - - [FileEntity](docs/FileEntity.md) - - [FileEntityUrls](docs/FileEntityUrls.md) - - [FilesetEntity](docs/FilesetEntity.md) - - [FilesetEntityManifest](docs/FilesetEntityManifest.md) - - [ReleaseContrib](docs/ReleaseContrib.md) - - [ReleaseEntity](docs/ReleaseEntity.md) - - [ReleaseEntityAbstracts](docs/ReleaseEntityAbstracts.md) - - [ReleaseRef](docs/ReleaseRef.md) - - [Success](docs/Success.md) - - [WebcaptureEntity](docs/WebcaptureEntity.md) - - [WebcaptureEntityArchiveUrls](docs/WebcaptureEntityArchiveUrls.md) - - [WebcaptureEntityCdx](docs/WebcaptureEntityCdx.md) - - [WorkEntity](docs/WorkEntity.md) - - -## Documentation For Authorization - - -## Bearer - -- **Type**: API key -- **API key parameter name**: Authorization -- **Location**: HTTP header - - -## Author - - - diff --git a/python_client/pytest.ini b/python_client/pytest.ini new file mode 100644 index 00000000..98060611 --- /dev/null +++ b/python_client/pytest.ini @@ -0,0 +1,10 @@ + +[pytest] + +ignore = setup.py + +# allow imports from files in current directory +python_paths = fatcat_client, tests + +# search for 'test_*' functions in all python files, not just under tests +python_files = *.py diff --git a/python_client/setup.py b/python_client/setup.py index 00425b4a..107f3f5b 100644 --- a/python_client/setup.py +++ b/python_client/setup.py @@ -47,7 +47,7 @@ here = os.path.abspath(os.path.dirname(__file__)) # Import the README and use it as the long-description. # Note: this will only work if 'README.md' is present in your MANIFEST.in file! try: - with io.open(os.path.join(here, 'fatcat_client/README.md'), encoding='utf-8') as f: + with io.open(os.path.join(here, './README.md'), encoding='utf-8') as f: long_description = '\n' + f.read() except FileNotFoundError: long_description = DESCRIPTION @@ -110,7 +110,7 @@ setup( author_email=EMAIL, python_requires=REQUIRES_PYTHON, url=URL, - packages=find_packages(exclude=('tests','fatcat_tools','fatcat_web')), + packages=find_packages(exclude=('tests')), # If your package is a single module, use this instead of 'packages': #py_modules=['fatcat_client'], # entry_points={ diff --git a/python_client/tests/codegen/__init__.py b/python_client/tests/codegen/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/python_client/tests/codegen/test_auth_oidc.py b/python_client/tests/codegen/test_auth_oidc.py new file mode 100644 index 00000000..f799da55 --- /dev/null +++ b/python_client/tests/codegen/test_auth_oidc.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.auth_oidc import AuthOidc # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestAuthOidc(unittest.TestCase): + """AuthOidc unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAuthOidc(self): + """Test AuthOidc""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.auth_oidc.AuthOidc() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python_client/tests/codegen/test_auth_oidc_result.py b/python_client/tests/codegen/test_auth_oidc_result.py new file mode 100644 index 00000000..d99ef446 --- /dev/null +++ b/python_client/tests/codegen/test_auth_oidc_result.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.auth_oidc_result import AuthOidcResult # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestAuthOidcResult(unittest.TestCase): + """AuthOidcResult unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAuthOidcResult(self): + """Test AuthOidcResult""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.auth_oidc_result.AuthOidcResult() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python_client/tests/codegen/test_changelog_entry.py b/python_client/tests/codegen/test_changelog_entry.py new file mode 100644 index 00000000..a8401891 --- /dev/null +++ b/python_client/tests/codegen/test_changelog_entry.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.changelog_entry import ChangelogEntry # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestChangelogEntry(unittest.TestCase): + """ChangelogEntry unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testChangelogEntry(self): + """Test ChangelogEntry""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.changelog_entry.ChangelogEntry() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python_client/tests/codegen/test_container_entity.py b/python_client/tests/codegen/test_container_entity.py new file mode 100644 index 00000000..0bafb7dd --- /dev/null +++ b/python_client/tests/codegen/test_container_entity.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.container_entity import ContainerEntity # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestContainerEntity(unittest.TestCase): + """ContainerEntity unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testContainerEntity(self): + """Test ContainerEntity""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.container_entity.ContainerEntity() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python_client/tests/codegen/test_creator_entity.py b/python_client/tests/codegen/test_creator_entity.py new file mode 100644 index 00000000..b235b640 --- /dev/null +++ b/python_client/tests/codegen/test_creator_entity.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.creator_entity import CreatorEntity # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestCreatorEntity(unittest.TestCase): + """CreatorEntity unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCreatorEntity(self): + """Test CreatorEntity""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.creator_entity.CreatorEntity() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python_client/tests/codegen/test_default_api.py b/python_client/tests/codegen/test_default_api.py new file mode 100644 index 00000000..9a632824 --- /dev/null +++ b/python_client/tests/codegen/test_default_api.py @@ -0,0 +1,568 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.api.default_api import DefaultApi # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestDefaultApi(unittest.TestCase): + """DefaultApi unit test stubs""" + + def setUp(self): + self.api = fatcat_client.api.default_api.DefaultApi() # noqa: E501 + + def tearDown(self): + pass + + def test_accept_editgroup(self): + """Test case for accept_editgroup + + """ + pass + + def test_auth_check(self): + """Test case for auth_check + + """ + pass + + def test_auth_oidc(self): + """Test case for auth_oidc + + """ + pass + + def test_create_container(self): + """Test case for create_container + + """ + pass + + def test_create_container_batch(self): + """Test case for create_container_batch + + """ + pass + + def test_create_creator(self): + """Test case for create_creator + + """ + pass + + def test_create_creator_batch(self): + """Test case for create_creator_batch + + """ + pass + + def test_create_editgroup(self): + """Test case for create_editgroup + + """ + pass + + def test_create_file(self): + """Test case for create_file + + """ + pass + + def test_create_file_batch(self): + """Test case for create_file_batch + + """ + pass + + def test_create_fileset(self): + """Test case for create_fileset + + """ + pass + + def test_create_fileset_batch(self): + """Test case for create_fileset_batch + + """ + pass + + def test_create_release(self): + """Test case for create_release + + """ + pass + + def test_create_release_batch(self): + """Test case for create_release_batch + + """ + pass + + def test_create_webcapture(self): + """Test case for create_webcapture + + """ + pass + + def test_create_webcapture_batch(self): + """Test case for create_webcapture_batch + + """ + pass + + def test_create_work(self): + """Test case for create_work + + """ + pass + + def test_create_work_batch(self): + """Test case for create_work_batch + + """ + pass + + def test_delete_container(self): + """Test case for delete_container + + """ + pass + + def test_delete_container_edit(self): + """Test case for delete_container_edit + + """ + pass + + def test_delete_creator(self): + """Test case for delete_creator + + """ + pass + + def test_delete_creator_edit(self): + """Test case for delete_creator_edit + + """ + pass + + def test_delete_file(self): + """Test case for delete_file + + """ + pass + + def test_delete_file_edit(self): + """Test case for delete_file_edit + + """ + pass + + def test_delete_fileset(self): + """Test case for delete_fileset + + """ + pass + + def test_delete_fileset_edit(self): + """Test case for delete_fileset_edit + + """ + pass + + def test_delete_release(self): + """Test case for delete_release + + """ + pass + + def test_delete_release_edit(self): + """Test case for delete_release_edit + + """ + pass + + def test_delete_webcapture(self): + """Test case for delete_webcapture + + """ + pass + + def test_delete_webcapture_edit(self): + """Test case for delete_webcapture_edit + + """ + pass + + def test_delete_work(self): + """Test case for delete_work + + """ + pass + + def test_delete_work_edit(self): + """Test case for delete_work_edit + + """ + pass + + def test_get_changelog(self): + """Test case for get_changelog + + """ + pass + + def test_get_changelog_entry(self): + """Test case for get_changelog_entry + + """ + pass + + def test_get_container(self): + """Test case for get_container + + """ + pass + + def test_get_container_edit(self): + """Test case for get_container_edit + + """ + pass + + def test_get_container_history(self): + """Test case for get_container_history + + """ + pass + + def test_get_container_redirects(self): + """Test case for get_container_redirects + + """ + pass + + def test_get_container_revision(self): + """Test case for get_container_revision + + """ + pass + + def test_get_creator(self): + """Test case for get_creator + + """ + pass + + def test_get_creator_edit(self): + """Test case for get_creator_edit + + """ + pass + + def test_get_creator_history(self): + """Test case for get_creator_history + + """ + pass + + def test_get_creator_redirects(self): + """Test case for get_creator_redirects + + """ + pass + + def test_get_creator_releases(self): + """Test case for get_creator_releases + + """ + pass + + def test_get_creator_revision(self): + """Test case for get_creator_revision + + """ + pass + + def test_get_editgroup(self): + """Test case for get_editgroup + + """ + pass + + def test_get_editor(self): + """Test case for get_editor + + """ + pass + + def test_get_editor_changelog(self): + """Test case for get_editor_changelog + + """ + pass + + def test_get_file(self): + """Test case for get_file + + """ + pass + + def test_get_file_edit(self): + """Test case for get_file_edit + + """ + pass + + def test_get_file_history(self): + """Test case for get_file_history + + """ + pass + + def test_get_file_redirects(self): + """Test case for get_file_redirects + + """ + pass + + def test_get_file_revision(self): + """Test case for get_file_revision + + """ + pass + + def test_get_fileset(self): + """Test case for get_fileset + + """ + pass + + def test_get_fileset_edit(self): + """Test case for get_fileset_edit + + """ + pass + + def test_get_fileset_history(self): + """Test case for get_fileset_history + + """ + pass + + def test_get_fileset_redirects(self): + """Test case for get_fileset_redirects + + """ + pass + + def test_get_fileset_revision(self): + """Test case for get_fileset_revision + + """ + pass + + def test_get_release(self): + """Test case for get_release + + """ + pass + + def test_get_release_edit(self): + """Test case for get_release_edit + + """ + pass + + def test_get_release_files(self): + """Test case for get_release_files + + """ + pass + + def test_get_release_filesets(self): + """Test case for get_release_filesets + + """ + pass + + def test_get_release_history(self): + """Test case for get_release_history + + """ + pass + + def test_get_release_redirects(self): + """Test case for get_release_redirects + + """ + pass + + def test_get_release_revision(self): + """Test case for get_release_revision + + """ + pass + + def test_get_release_webcaptures(self): + """Test case for get_release_webcaptures + + """ + pass + + def test_get_webcapture(self): + """Test case for get_webcapture + + """ + pass + + def test_get_webcapture_edit(self): + """Test case for get_webcapture_edit + + """ + pass + + def test_get_webcapture_history(self): + """Test case for get_webcapture_history + + """ + pass + + def test_get_webcapture_redirects(self): + """Test case for get_webcapture_redirects + + """ + pass + + def test_get_webcapture_revision(self): + """Test case for get_webcapture_revision + + """ + pass + + def test_get_work(self): + """Test case for get_work + + """ + pass + + def test_get_work_edit(self): + """Test case for get_work_edit + + """ + pass + + def test_get_work_history(self): + """Test case for get_work_history + + """ + pass + + def test_get_work_redirects(self): + """Test case for get_work_redirects + + """ + pass + + def test_get_work_releases(self): + """Test case for get_work_releases + + """ + pass + + def test_get_work_revision(self): + """Test case for get_work_revision + + """ + pass + + def test_lookup_container(self): + """Test case for lookup_container + + """ + pass + + def test_lookup_creator(self): + """Test case for lookup_creator + + """ + pass + + def test_lookup_file(self): + """Test case for lookup_file + + """ + pass + + def test_lookup_release(self): + """Test case for lookup_release + + """ + pass + + def test_update_container(self): + """Test case for update_container + + """ + pass + + def test_update_creator(self): + """Test case for update_creator + + """ + pass + + def test_update_editor(self): + """Test case for update_editor + + """ + pass + + def test_update_file(self): + """Test case for update_file + + """ + pass + + def test_update_fileset(self): + """Test case for update_fileset + + """ + pass + + def test_update_release(self): + """Test case for update_release + + """ + pass + + def test_update_webcapture(self): + """Test case for update_webcapture + + """ + pass + + def test_update_work(self): + """Test case for update_work + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python_client/tests/codegen/test_editgroup.py b/python_client/tests/codegen/test_editgroup.py new file mode 100644 index 00000000..e770fd54 --- /dev/null +++ b/python_client/tests/codegen/test_editgroup.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.editgroup import Editgroup # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestEditgroup(unittest.TestCase): + """Editgroup unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEditgroup(self): + """Test Editgroup""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.editgroup.Editgroup() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python_client/tests/codegen/test_editgroup_edits.py b/python_client/tests/codegen/test_editgroup_edits.py new file mode 100644 index 00000000..38c3c814 --- /dev/null +++ b/python_client/tests/codegen/test_editgroup_edits.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.editgroup_edits import EditgroupEdits # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestEditgroupEdits(unittest.TestCase): + """EditgroupEdits unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEditgroupEdits(self): + """Test EditgroupEdits""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.editgroup_edits.EditgroupEdits() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python_client/tests/codegen/test_editor.py b/python_client/tests/codegen/test_editor.py new file mode 100644 index 00000000..00ca625e --- /dev/null +++ b/python_client/tests/codegen/test_editor.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.editor import Editor # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestEditor(unittest.TestCase): + """Editor unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEditor(self): + """Test Editor""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.editor.Editor() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python_client/tests/codegen/test_entity_edit.py b/python_client/tests/codegen/test_entity_edit.py new file mode 100644 index 00000000..2f0f7ac3 --- /dev/null +++ b/python_client/tests/codegen/test_entity_edit.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.entity_edit import EntityEdit # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestEntityEdit(unittest.TestCase): + """EntityEdit unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEntityEdit(self): + """Test EntityEdit""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.entity_edit.EntityEdit() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python_client/tests/codegen/test_entity_history_entry.py b/python_client/tests/codegen/test_entity_history_entry.py new file mode 100644 index 00000000..4c27c80f --- /dev/null +++ b/python_client/tests/codegen/test_entity_history_entry.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.entity_history_entry import EntityHistoryEntry # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestEntityHistoryEntry(unittest.TestCase): + """EntityHistoryEntry unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEntityHistoryEntry(self): + """Test EntityHistoryEntry""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.entity_history_entry.EntityHistoryEntry() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python_client/tests/codegen/test_error_response.py b/python_client/tests/codegen/test_error_response.py new file mode 100644 index 00000000..f0d09ee8 --- /dev/null +++ b/python_client/tests/codegen/test_error_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.error_response import ErrorResponse # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestErrorResponse(unittest.TestCase): + """ErrorResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testErrorResponse(self): + """Test ErrorResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.error_response.ErrorResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python_client/tests/codegen/test_file_entity.py b/python_client/tests/codegen/test_file_entity.py new file mode 100644 index 00000000..f5806f9b --- /dev/null +++ b/python_client/tests/codegen/test_file_entity.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.file_entity import FileEntity # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestFileEntity(unittest.TestCase): + """FileEntity unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFileEntity(self): + """Test FileEntity""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.file_entity.FileEntity() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python_client/tests/codegen/test_file_entity_urls.py b/python_client/tests/codegen/test_file_entity_urls.py new file mode 100644 index 00000000..9261f54c --- /dev/null +++ b/python_client/tests/codegen/test_file_entity_urls.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.file_entity_urls import FileEntityUrls # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestFileEntityUrls(unittest.TestCase): + """FileEntityUrls unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFileEntityUrls(self): + """Test FileEntityUrls""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.file_entity_urls.FileEntityUrls() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python_client/tests/codegen/test_fileset_entity.py b/python_client/tests/codegen/test_fileset_entity.py new file mode 100644 index 00000000..c8337f4c --- /dev/null +++ b/python_client/tests/codegen/test_fileset_entity.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.fileset_entity import FilesetEntity # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestFilesetEntity(unittest.TestCase): + """FilesetEntity unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFilesetEntity(self): + """Test FilesetEntity""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.fileset_entity.FilesetEntity() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python_client/tests/codegen/test_fileset_entity_manifest.py b/python_client/tests/codegen/test_fileset_entity_manifest.py new file mode 100644 index 00000000..b6b9e201 --- /dev/null +++ b/python_client/tests/codegen/test_fileset_entity_manifest.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.fileset_entity_manifest import FilesetEntityManifest # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestFilesetEntityManifest(unittest.TestCase): + """FilesetEntityManifest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFilesetEntityManifest(self): + """Test FilesetEntityManifest""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.fileset_entity_manifest.FilesetEntityManifest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python_client/tests/codegen/test_release_contrib.py b/python_client/tests/codegen/test_release_contrib.py new file mode 100644 index 00000000..9a61ef89 --- /dev/null +++ b/python_client/tests/codegen/test_release_contrib.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.release_contrib import ReleaseContrib # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestReleaseContrib(unittest.TestCase): + """ReleaseContrib unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testReleaseContrib(self): + """Test ReleaseContrib""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.release_contrib.ReleaseContrib() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python_client/tests/codegen/test_release_entity.py b/python_client/tests/codegen/test_release_entity.py new file mode 100644 index 00000000..9a1f0e97 --- /dev/null +++ b/python_client/tests/codegen/test_release_entity.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.release_entity import ReleaseEntity # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestReleaseEntity(unittest.TestCase): + """ReleaseEntity unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testReleaseEntity(self): + """Test ReleaseEntity""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.release_entity.ReleaseEntity() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python_client/tests/codegen/test_release_entity_abstracts.py b/python_client/tests/codegen/test_release_entity_abstracts.py new file mode 100644 index 00000000..c6c518c3 --- /dev/null +++ b/python_client/tests/codegen/test_release_entity_abstracts.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.release_entity_abstracts import ReleaseEntityAbstracts # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestReleaseEntityAbstracts(unittest.TestCase): + """ReleaseEntityAbstracts unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testReleaseEntityAbstracts(self): + """Test ReleaseEntityAbstracts""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.release_entity_abstracts.ReleaseEntityAbstracts() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python_client/tests/codegen/test_release_ref.py b/python_client/tests/codegen/test_release_ref.py new file mode 100644 index 00000000..cafb6700 --- /dev/null +++ b/python_client/tests/codegen/test_release_ref.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.release_ref import ReleaseRef # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestReleaseRef(unittest.TestCase): + """ReleaseRef unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testReleaseRef(self): + """Test ReleaseRef""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.release_ref.ReleaseRef() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python_client/tests/codegen/test_success.py b/python_client/tests/codegen/test_success.py new file mode 100644 index 00000000..28d855fb --- /dev/null +++ b/python_client/tests/codegen/test_success.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.success import Success # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestSuccess(unittest.TestCase): + """Success unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSuccess(self): + """Test Success""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.success.Success() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python_client/tests/codegen/test_webcapture_entity.py b/python_client/tests/codegen/test_webcapture_entity.py new file mode 100644 index 00000000..b58eaf7b --- /dev/null +++ b/python_client/tests/codegen/test_webcapture_entity.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.webcapture_entity import WebcaptureEntity # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestWebcaptureEntity(unittest.TestCase): + """WebcaptureEntity unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testWebcaptureEntity(self): + """Test WebcaptureEntity""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.webcapture_entity.WebcaptureEntity() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python_client/tests/codegen/test_webcapture_entity_archive_urls.py b/python_client/tests/codegen/test_webcapture_entity_archive_urls.py new file mode 100644 index 00000000..3a9c10fd --- /dev/null +++ b/python_client/tests/codegen/test_webcapture_entity_archive_urls.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.webcapture_entity_archive_urls import WebcaptureEntityArchiveUrls # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestWebcaptureEntityArchiveUrls(unittest.TestCase): + """WebcaptureEntityArchiveUrls unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testWebcaptureEntityArchiveUrls(self): + """Test WebcaptureEntityArchiveUrls""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.webcapture_entity_archive_urls.WebcaptureEntityArchiveUrls() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python_client/tests/codegen/test_webcapture_entity_cdx.py b/python_client/tests/codegen/test_webcapture_entity_cdx.py new file mode 100644 index 00000000..c4c2dd17 --- /dev/null +++ b/python_client/tests/codegen/test_webcapture_entity_cdx.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.webcapture_entity_cdx import WebcaptureEntityCdx # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestWebcaptureEntityCdx(unittest.TestCase): + """WebcaptureEntityCdx unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testWebcaptureEntityCdx(self): + """Test WebcaptureEntityCdx""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.webcapture_entity_cdx.WebcaptureEntityCdx() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/python_client/tests/codegen/test_work_entity.py b/python_client/tests/codegen/test_work_entity.py new file mode 100644 index 00000000..57b0cdad --- /dev/null +++ b/python_client/tests/codegen/test_work_entity.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + fatcat + + A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + + OpenAPI spec version: 0.1.0 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import fatcat_client +from fatcat_client.models.work_entity import WorkEntity # noqa: E501 +from fatcat_client.rest import ApiException + + +class TestWorkEntity(unittest.TestCase): + """WorkEntity unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testWorkEntity(self): + """Test WorkEntity""" + # FIXME: construct object with mandatory attributes with example values + # model = fatcat_client.models.work_entity.WorkEntity() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() -- cgit v1.2.3