-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from Aedial/tests-refactor
Tests refactor This should offer a saner testing. Add docs for tests. Remove xdist, as the tests are throttled by backend. Along with it come some fixes for repetition penalty.
- Loading branch information
Showing
27 changed files
with
3,228 additions
and
164 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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -31,3 +31,12 @@ example | |
:maxdepth: 2 | ||
|
||
example/example | ||
|
||
|
||
API | ||
--- | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
tests/api/api |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
boilerplate | ||
=========== | ||
|
||
.. automodule:: tests.api.boilerplate | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
API directory | ||
============= | ||
|
||
Requirements | ||
------------ | ||
|
||
|
||
Usage | ||
----- | ||
|
||
|
||
Content | ||
------- | ||
|
||
test_decrypt_encrypt_integrity_check.py | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
.. automodule:: tests.api.test_decrypt_encrypt_integrity_check | ||
:members: | ||
|
||
test_imagegen_samplers.py | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
.. automodule:: tests.api.test_imagegen_samplers | ||
:members: | ||
|
||
test_sync_gen.py | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
.. automodule:: tests.api.test_sync_gen | ||
:members: | ||
|
||
test_textgen_presets.py | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
.. automodule:: tests.api.test_textgen_presets | ||
:members: | ||
|
||
test_textgen_sanity.py | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
.. automodule:: tests.api.test_textgen_sanity | ||
:members: | ||
|
||
|
||
Reference | ||
--------- | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
api.boilerplate |
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,2 +1,8 @@ | ||
""" | ||
:class:`NovelAI_API` | ||
:class:`NovelAIError` | ||
""" | ||
|
||
from novelai_api.NovelAI_API import NovelAIAPI | ||
from novelai_api.NovelAIError import NovelAIError |
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
Empty file.
Empty file.
Oops, something went wrong.