Create a sample Client
(ensure_organization)
| 92 | |
| 93 | @pytest.fixture |
| 94 | def sample_client(ensure_organization): |
| 95 | """Create a sample Client""" |
| 96 | return Client( |
| 97 | id="client-123", |
| 98 | organization_id=ensure_organization, |
| 99 | name="Test Client App", |
| 100 | status="active", |
| 101 | write_scope="test", |
| 102 | read_scopes=["test"], |
| 103 | created_at=datetime.now(), |
| 104 | updated_at=datetime.now(), |
| 105 | is_deleted=False, |
| 106 | ) |
| 107 | |
| 108 | |
| 109 | @pytest.fixture |