parent
60b1927cc5
commit
0b39554795
57 changed files with 351 additions and 359 deletions
|
|
@ -99,8 +99,8 @@ async def test_get_variable__typeerror(service, session: AsyncSession):
|
|||
name = "name"
|
||||
value = "value"
|
||||
field = "session_id"
|
||||
_type = CREDENTIAL_TYPE
|
||||
await service.create_variable(user_id, name, value, _type=_type, session=session)
|
||||
type_ = CREDENTIAL_TYPE
|
||||
await service.create_variable(user_id, name, value, type_=type_, session=session)
|
||||
|
||||
with pytest.raises(TypeError) as exc:
|
||||
await session.run_sync(_get_variable, service, user_id, name, field)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue