(self)
| 984 | await con2.aclose() |
| 985 | |
| 986 | async def test_server_proto_configure_07(self): |
| 987 | try: |
| 988 | await self.con.execute(''' |
| 989 | CONFIGURE SESSION SET multiprop := <str>{}; |
| 990 | ''') |
| 991 | |
| 992 | await self.assert_query_result( |
| 993 | ''' |
| 994 | SELECT _ := cfg::Config.multiprop ORDER BY _ |
| 995 | ''', |
| 996 | [], |
| 997 | ) |
| 998 | |
| 999 | await self.con.execute(''' |
| 1000 | CONFIGURE INSTANCE SET multiprop := {'4'}; |
| 1001 | ''') |
| 1002 | |
| 1003 | await self.assert_query_result( |
| 1004 | ''' |
| 1005 | SELECT _ := cfg::Config.multiprop ORDER BY _ |
| 1006 | ''', |
| 1007 | [], |
| 1008 | ) |
| 1009 | |
| 1010 | await self.con.execute(''' |
| 1011 | CONFIGURE SESSION SET multiprop := {'5'}; |
| 1012 | ''') |
| 1013 | |
| 1014 | await self.assert_query_result( |
| 1015 | ''' |
| 1016 | SELECT _ := cfg::Config.multiprop ORDER BY _ |
| 1017 | ''', |
| 1018 | [ |
| 1019 | '5', |
| 1020 | ], |
| 1021 | ) |
| 1022 | |
| 1023 | await self.con.execute(''' |
| 1024 | CONFIGURE SESSION RESET multiprop; |
| 1025 | ''') |
| 1026 | |
| 1027 | await self.assert_query_result( |
| 1028 | ''' |
| 1029 | SELECT _ := cfg::Config.multiprop ORDER BY _ |
| 1030 | ''', |
| 1031 | [ |
| 1032 | '4', |
| 1033 | ], |
| 1034 | ) |
| 1035 | |
| 1036 | finally: |
| 1037 | await self.con.execute(''' |
| 1038 | CONFIGURE SESSION RESET multiprop; |
| 1039 | ''') |
| 1040 | |
| 1041 | await self.con.execute(''' |
| 1042 | CONFIGURE INSTANCE RESET multiprop; |
| 1043 | ''') |
nothing calls this directly
no test coverage detected