Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add snapshot tests #164

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
140 changes: 92 additions & 48 deletions poetry.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ avro-preprocessor = "^0.3.0"
fakeredis = "^2.21.1"
ruff = "^0.3.4"
debugpy = "^1.8.1"
syrupy = "^4.6.1"

[build-system]
requires = ["poetry-core"]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# serializer version: 1
# name: test_get_all_projects_with_pagination
list([
dict({
'created_by': dict({
}),
'name': 'Project 1',
'repositories': list([
]),
'slug': 'project-1',
'visibility': 'private',
}),
])
# ---
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# serializer version: 1
# name: test_get_all_session_environments
list([
dict({
'container_image': 'some_image:some_tag',
'description': 'A session environment.',
'name': 'Environment 1',
}),
dict({
'container_image': 'some_image:some_tag',
'description': 'A session environment.',
'name': 'Environment 2',
}),
dict({
'container_image': 'some_image:some_tag',
'description': 'A session environment.',
'name': 'Environment 3',
}),
])
# ---
# name: test_get_all_session_launchers
list([
dict({
'container_image': 'some_image:some_tag',
'description': 'A session launcher.',
'environment_kind': 'container_image',
'name': 'Launcher 1',
}),
dict({
'container_image': 'some_image:some_tag',
'description': 'A session launcher.',
'environment_kind': 'container_image',
'name': 'Launcher 2',
}),
dict({
'container_image': 'some_image:some_tag',
'description': 'A session launcher.',
'environment_kind': 'container_image',
'name': 'Launcher 3',
}),
])
# ---
Loading
Loading