aisysprojserver_test package

Submodules

aisysprojserver_test.servertestcase module

class aisysprojserver_test.servertestcase.ServerTestCase(methodName='runTest')

Bases: TestCase

admin: TestAdmin = <aisysprojserver_test.servertestcase.TestAdmin object>
app: Flask = <Flask 'aisysprojserver.app'>
client: FlaskClient = <FlaskClient <Flask 'aisysprojserver.app'>>
classmethod get_username() str

Returns a unique username

helper: TestHelper = <aisysprojserver_test.servertestcase.TestHelper object>
classmethod require_standard_setup()
class aisysprojserver_test.servertestcase.TestAdmin(baseurl: str, authentication: str, client: FlaskClient)

Bases: AdminClient

send_request(path: str, **kwargs) tuple[int, Any]

Overwritten for integration tests

send_request_raw(path: str, **kwargs)
class aisysprojserver_test.servertestcase.TestHelper

Bases: object

aisysprojserver_test.servertestcase.get_strong_nim_move(percept)

aisysprojserver_test.test_act module

class aisysprojserver_test.test_act.ActTest(methodName='runTest')

Bases: ServerTestCase

act(config, number_of_requests, action_function, protocol_version=1)
test_act_bad_password()
test_act_bad_username()
test_act_simple()

aisysprojserver_test.test_clients module

class aisysprojserver_test.test_clients.ActTest(methodName='runTest')

Bases: ServerTestCase

simple_client_test(version: str, parallel_runs: bool, agent_config: Path | AgentConfig, **kwargs)
test_advanced_client()
test_clients()
exception aisysprojserver_test.test_clients.SuccessException

Bases: Exception

aisysprojserver_test.test_plugins module

class aisysprojserver_test.test_plugins.PluginTest(methodName='runTest')

Bases: ServerTestCase

test_import_simple_nim()

aisysprojserver_test.test_user_management module

class aisysprojserver_test.test_user_management.TestUserManagement(methodName='runTest')

Bases: ServerTestCase

test_overwrite()

Module contents