(self)
| 4141 | ) |
| 4142 | |
| 4143 | async def test_edgeql_insert_dependent_07(self): |
| 4144 | async with self.assertRaisesRegexTx( |
| 4145 | edgedb.QueryError, |
| 4146 | "mutations are invalid in a shape's computed expression"): |
| 4147 | await self.con.execute( |
| 4148 | r""" |
| 4149 | SELECT Person { |
| 4150 | name, |
| 4151 | foo := ( |
| 4152 | INSERT Note {name := 'NoteDep07'} |
| 4153 | ) { |
| 4154 | name, |
| 4155 | } |
| 4156 | }; |
| 4157 | """ |
| 4158 | ) |
| 4159 | |
| 4160 | async def test_edgeql_insert_dependent_08(self): |
| 4161 | await self.con.execute(r""" |
nothing calls this directly
no test coverage detected