one.tests.test_alyxrest

Classes

Tests_REST

class Tests_REST(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_water_restriction()[source]

Examples of how to list all water restrictions and water-restriction for a given subject.

test_list_pk_query()[source]

It’s a bit stupid but the rest endpoint can’t forward a direct query of the uuid via the pk keywork. The alyxclient has already an id parameter, which on the list method is used as a pk identifier. This special case is tested here :return:

test_note_with_picture_upload()[source]
test_channels()[source]