Module Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Str Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Str Assign NameStore NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Dict Str NameLoad With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Yield Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad keyword Str keyword Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str NameLoad With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Yield Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad keyword Str keyword Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Yield Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad keyword Str keyword Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str With Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Yield Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Assign NameStore Str With Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Yield Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Str Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Call NameLoad NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Yield Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad keyword Str keyword Call AttributeLoad NameLoad attr Dict Str NameLoad Assign NameStore BinOpMod Str NameLoad With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Num keyword NameLoad With Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Yield Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad keyword Str keyword Call AttributeLoad NameLoad attr Dict Str NameLoad Assign NameStore Str Assign NameStore Str With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Num keyword NameLoad With Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Yield Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad keyword Str keyword Call AttributeLoad NameLoad attr Dict Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Str Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Dict Str Str Str NameLoad NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Yield Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad keyword Str keyword Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str NameLoad With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad keyword Str keyword Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Str NameLoad NameLoad NameLoad Assign NameStore BinOpMod Str NameLoad With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Num keyword NameLoad With Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Yield Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad keyword Str keyword Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str With Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Str Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Dict Str Str NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Yield Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad keyword Str keyword Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str NameLoad With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Num keyword NameLoad With Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Yield Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad keyword Str keyword Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str With Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Str Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Str Assign NameStore Call NameLoad NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Yield Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad keyword Str Assign NameStore BinOpMod Str NameLoad With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Num keyword NameLoad With Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Yield Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad keyword Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Num Assign NameStore Str Assign NameStore SubscriptLoad Call NameLoad NameLoad NameLoad Index NameLoad Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad NameLoad BinOpMod NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list
N/A N/A json asyncflux AsyncfluxClient asyncflux.testing AsyncfluxTestCase gen_test asyncflux.user User asyncflux.errors AsyncfluxError UserTestCase N/A AsyncfluxTestCase N/A test_update N/A N/A self N/A N/A N/A client N/A AsyncfluxClient N/A db_name foo N/A db N/A client N/A db_name N/A username foo N/A user N/A User db username N/A password fubar N/A is_admin True N/A read_from ^$ N/A write_to ^$ N/A payload N/A password password N/A N/A N/A self patch_fetch_mock client m N/A N/A N/A N/A self setup_fetch_mock m 200 N/A response N/A N/A N/A user update new_password password N/A N/A N/A self assertIsNone response N/A N/A N/A self assert_mock_args m N/A /db/%s/users/%s N/A db_name username method POST body N/A N/A json dumps payload N/A payload N/A isAdmin is_admin N/A N/A N/A self patch_fetch_mock client m N/A N/A N/A N/A self setup_fetch_mock m 200 N/A response N/A N/A N/A user update is_admin is_admin N/A N/A N/A self assertIsNone response N/A N/A N/A self assertEqual N/A user is_admin is_admin N/A N/A N/A self assert_mock_args m N/A /db/%s/users/%s N/A db_name username method POST body N/A N/A json dumps payload N/A payload N/A readFrom writeTo read_from write_to N/A N/A N/A self patch_fetch_mock client m N/A N/A N/A N/A self setup_fetch_mock m 200 N/A response N/A N/A N/A user update read_from read_from write_to write_to N/A N/A N/A self assertIsNone response N/A N/A N/A self assertEqual N/A user read_from read_from N/A N/A N/A self assertEqual N/A user write_to write_to N/A N/A N/A self assert_mock_args m N/A /db/%s/users/%s N/A db_name username method POST body N/A N/A json dumps payload N/A exc_msg You have to provide read and write permissions N/A N/A N/A self assertRaisesRegexp ValueError exc_msg N/A N/A N/A N/A N/A user update password is_admin is_admin read_from read_from N/A exc_msg You have to set at least one argument N/A N/A N/A self assertRaisesRegexp ValueError exc_msg N/A N/A N/A N/A N/A user update N/A gen_test test_change_password N/A N/A self N/A N/A N/A client N/A AsyncfluxClient N/A db_name foo N/A db N/A client N/A db_name N/A username foo N/A password fubar N/A user N/A User db username N/A N/A N/A self patch_fetch_mock client m N/A N/A N/A N/A self setup_fetch_mock m 200 N/A response N/A N/A N/A user change_password password N/A N/A N/A self assertIsNone response N/A N/A N/A self assert_mock_args m N/A /db/%s/users/%s N/A db_name username method POST body N/A N/A json dumps N/A password password N/A response_body N/A Invalid username %s username N/A N/A N/A self patch_fetch_mock client m N/A N/A N/A N/A self setup_fetch_mock m 400 body response_body N/A N/A N/A self assertRaisesRegexp AsyncfluxError response_body N/A N/A N/A N/A N/A user change_password password N/A N/A N/A self assert_mock_args m N/A /db/%s/users/%s N/A db_name username method POST body N/A N/A json dumps N/A password password N/A password bar N/A response_body Password must be more than 4 and less than 56 characters N/A N/A N/A self patch_fetch_mock client m N/A N/A N/A N/A self setup_fetch_mock m 400 body response_body N/A N/A N/A self assertRaisesRegexp AsyncfluxError response_body N/A N/A N/A N/A N/A user change_password password N/A N/A N/A self assert_mock_args m N/A /db/%s/users/%s N/A db_name username method POST body N/A N/A json dumps N/A password password N/A gen_test test_change_privileges N/A N/A self N/A N/A N/A client N/A AsyncfluxClient N/A db_name foo N/A db N/A client N/A db_name N/A username foo N/A user N/A User db username N/A is_admin True N/A read_from ^$ N/A write_to ^$ N/A payload N/A isAdmin readFrom writeTo is_admin read_from write_to N/A N/A N/A self patch_fetch_mock client m N/A N/A N/A N/A self setup_fetch_mock m 200 N/A response N/A N/A N/A user change_privileges is_admin read_from read_from write_to write_to N/A N/A N/A self assertIsNone response N/A N/A N/A self assertEqual N/A user is_admin is_admin N/A N/A N/A self assertEqual N/A user read_from read_from N/A N/A N/A self assertEqual N/A user write_to write_to N/A N/A N/A self assert_mock_args m N/A /db/%s/users/%s N/A db_name username method POST body N/A N/A json dumps payload N/A payload N/A isAdmin is_admin N/A N/A N/A self patch_fetch_mock client m N/A N/A N/A N/A self setup_fetch_mock m 200 N/A N/A N/A N/A user change_privileges is_admin None None N/A N/A N/A self assertIsNone response N/A N/A N/A self assertEqual N/A user is_admin is_admin N/A N/A N/A self assert_mock_args m N/A /db/%s/users/%s N/A db_name username method POST body N/A N/A json dumps payload N/A payload N/A isAdmin readFrom writeTo is_admin read_from write_to N/A response_body N/A Invalid username %s username N/A N/A N/A self patch_fetch_mock client m N/A N/A N/A N/A self setup_fetch_mock m 400 body response_body N/A N/A N/A self assertRaisesRegexp AsyncfluxError response_body N/A N/A N/A N/A N/A user change_privileges is_admin read_from read_from write_to write_to N/A N/A N/A self assert_mock_args m N/A /db/%s/users/%s N/A db_name username method POST body N/A N/A json dumps payload N/A exc_msg You have to provide read and write permissions N/A N/A N/A self assertRaisesRegexp ValueError exc_msg N/A N/A N/A N/A N/A user change_privileges is_admin read_from None N/A N/A N/A self assertRaisesRegexp ValueError exc_msg N/A N/A N/A N/A N/A user change_privileges is_admin None write_to N/A gen_test test_change_permissions N/A N/A self N/A N/A N/A client N/A AsyncfluxClient N/A db_name foo N/A db N/A client N/A db_name N/A username foo N/A user N/A User db username N/A read_from ^$ N/A write_to ^$ N/A payload N/A readFrom writeTo read_from write_to N/A N/A N/A self patch_fetch_mock client m N/A N/A N/A N/A self setup_fetch_mock m 200 N/A response N/A N/A N/A user change_permissions read_from read_from write_to write_to N/A N/A N/A self assertIsNone response N/A N/A N/A self assertEqual N/A user read_from read_from N/A N/A N/A self assertEqual N/A user write_to write_to N/A N/A N/A self assert_mock_args m N/A /db/%s/users/%s N/A db_name username method POST body N/A N/A json dumps payload N/A response_body N/A Invalid username %s username N/A N/A N/A self patch_fetch_mock client m N/A N/A N/A N/A self setup_fetch_mock m 400 body response_body N/A N/A N/A self assertRaisesRegexp AsyncfluxError response_body N/A N/A N/A N/A N/A user change_permissions read_from read_from write_to write_to N/A N/A N/A self assert_mock_args m N/A /db/%s/users/%s N/A db_name username method POST body N/A N/A json dumps payload N/A exc_msg You have to provide read and write permissions N/A N/A N/A self assertRaisesRegexp ValueError exc_msg N/A N/A N/A N/A N/A user change_permissions None None N/A N/A N/A self assertRaisesRegexp ValueError exc_msg N/A N/A N/A N/A N/A user change_permissions read_from None N/A N/A N/A self assertRaisesRegexp ValueError exc_msg N/A N/A N/A N/A N/A user change_permissions None write_to N/A gen_test test_delete N/A N/A self N/A N/A N/A client N/A AsyncfluxClient N/A db_name foo N/A db N/A client N/A db_name N/A username foo N/A user N/A User db username N/A N/A N/A self patch_fetch_mock client m N/A N/A N/A N/A self setup_fetch_mock m 200 N/A response N/A N/A N/A user delete N/A N/A N/A self assertIsNone response N/A N/A N/A self assert_mock_args m N/A /db/%s/users/%s N/A db_name username method DELETE N/A response_body N/A User %s doesn't exist username N/A N/A N/A self patch_fetch_mock client m N/A N/A N/A N/A self setup_fetch_mock m 400 body response_body N/A N/A N/A self assertRaisesRegexp AsyncfluxError response_body N/A N/A N/A N/A N/A user delete N/A N/A N/A self assert_mock_args m N/A /db/%s/users/%s N/A db_name username method DELETE N/A gen_test test_repr N/A N/A self N/A N/A N/A host localhost N/A port 8086 N/A db_name foo N/A db N/A N/A AsyncfluxClient host port N/A db_name N/A username foo N/A format_repr User(Database(AsyncfluxClient('%s', %d), '%s'), '%s') N/A N/A N/A self assertEqual N/A repr N/A User db username N/A format_repr N/A host port db_name username N/A N/A