Standalone API test case #2168

Merged
PeterSurda merged 7 commits from gitea-32 into v0.6 2023-12-04 00:59:16 +01:00

7 Commits

Author SHA1 Message Date
0cb80801b1
Resolve pylint warnings in partial and test_api_thread - mostly suppress 2023-12-04 01:14:58 +02:00
7c153c0eb8
Mock network.stats for python3 in tests.partial 2023-12-02 00:46:35 +02:00
2501212a82
Fix py3 incompatibilities in api:
- bytes in BMXMLRPCRequestHandler
    (copied relevant lines from xmlrpc.server once again),
  - used @six.add_metaclass for the metaclass and six.iteritems()

Closes: #1900
2023-12-02 00:46:35 +02:00
1b7a642d6a
Rewrite TestAPIThread as subclass of TestPartialRun 2023-12-02 00:45:55 +02:00
2c2a41d105
Add an obvious test for the 'statusBar' command
and remove some junk introduced in 9a194f0.
2023-11-29 04:26:41 +02:00
a16a0cea5c
Rewrite imports in api for python3 and cut out those looking too tricky 2023-11-29 04:26:41 +02:00
81e6de1895
Started a standalone API test case 2023-11-29 04:26:05 +02:00