Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
axiomofjoy committed Jan 29, 2025
1 parent 3768c3d commit 3616842
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
2 changes: 0 additions & 2 deletions tests/integration/auth/test_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,6 @@ def test_authenticated_users_are_recorded_in_prompts(
"description": "prompt-description",
"promptVersion": {
"description": "prompt-version-description",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {
"messages": [
Expand Down Expand Up @@ -1058,7 +1057,6 @@ def test_authenticated_users_are_recorded_in_prompts(
"promptId": prompt_id,
"promptVersion": {
"description": "new-version-description",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {
"messages": [
Expand Down
26 changes: 0 additions & 26 deletions tests/unit/server/api/mutations/test_prompt_mutations.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ class TestPromptMutations:
"description": "prompt-description",
"promptVersion": {
"description": "prompt-version-description",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {
"messages": [
Expand All @@ -183,7 +182,6 @@ class TestPromptMutations:
"description": "prompt-description",
"promptVersion": {
"description": "prompt-version-description",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {
"messages": [
Expand All @@ -209,7 +207,6 @@ class TestPromptMutations:
"description": "prompt-description",
"promptVersion": {
"description": "prompt-version-description",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {
"messages": [
Expand Down Expand Up @@ -248,7 +245,6 @@ class TestPromptMutations:
"description": "prompt-description",
"promptVersion": {
"description": "prompt-version-description",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {
"messages": [
Expand Down Expand Up @@ -296,7 +292,6 @@ class TestPromptMutations:
"description": "prompt-description",
"promptVersion": {
"description": "prompt-version-description",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {
"messages": [
Expand Down Expand Up @@ -377,7 +372,6 @@ async def test_create_chat_prompt_fails_on_name_conflict(
"description": "prompt-description",
"promptVersion": {
"description": "prompt-version-description",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {
"messages": [
Expand Down Expand Up @@ -413,7 +407,6 @@ async def test_create_chat_prompt_fails_on_name_conflict(
"description": "prompt-description",
"promptVersion": {
"description": "prompt-version-description",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {"messages": [{"role": "USER", "content": "hello world"}]},
"invocationParameters": {"temperature": 0.4},
Expand All @@ -434,7 +427,6 @@ async def test_create_chat_prompt_fails_on_name_conflict(
"description": "prompt-description",
"promptVersion": {
"description": "prompt-version-description",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {
"messages": [
Expand Down Expand Up @@ -462,7 +454,6 @@ async def test_create_chat_prompt_fails_on_name_conflict(
"description": "prompt-description",
"promptVersion": {
"description": "prompt-version-description",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {
"messages": [
Expand Down Expand Up @@ -492,7 +483,6 @@ async def test_create_chat_prompt_fails_on_name_conflict(
"description": "prompt-description",
"promptVersion": {
"description": "prompt-version-description",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {
"messages": [
Expand Down Expand Up @@ -531,7 +521,6 @@ async def test_create_chat_prompt_fails_on_name_conflict(
"description": "prompt-description",
"promptVersion": {
"description": "prompt-version-description",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {
"messages": [
Expand Down Expand Up @@ -593,7 +582,6 @@ async def test_create_chat_prompt_fails_with_invalid_input(
"promptId": str(GlobalID("Prompt", "1")),
"promptVersion": {
"description": "prompt-version-description",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {
"messages": [
Expand All @@ -617,7 +605,6 @@ async def test_create_chat_prompt_fails_with_invalid_input(
"promptId": str(GlobalID("Prompt", "1")),
"promptVersion": {
"description": "prompt-version-description",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {
"messages": [
Expand All @@ -642,7 +629,6 @@ async def test_create_chat_prompt_fails_with_invalid_input(
"promptId": str(GlobalID("Prompt", "1")),
"promptVersion": {
"description": "prompt-version-description",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {
"messages": [
Expand Down Expand Up @@ -680,7 +666,6 @@ async def test_create_chat_prompt_fails_with_invalid_input(
"promptId": str(GlobalID("Prompt", "1")),
"promptVersion": {
"description": "prompt-version-description",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {
"messages": [
Expand All @@ -707,7 +692,6 @@ async def test_create_chat_prompt_fails_with_invalid_input(
"promptId": str(GlobalID("Prompt", "1")),
"promptVersion": {
"description": "prompt-version-description",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {
"messages": [
Expand Down Expand Up @@ -765,7 +749,6 @@ async def test_create_chat_prompt_version_succeeds_with_valid_input(
"description": "prompt-description",
"promptVersion": {
"description": "initial-version",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {
"messages": [
Expand Down Expand Up @@ -837,7 +820,6 @@ async def test_create_chat_prompt_version_fails_with_nonexistent_prompt_id(
"promptId": str(GlobalID("Prompt", "100")),
"promptVersion": {
"description": "prompt-version-description",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {
"messages": [
Expand All @@ -864,7 +846,6 @@ async def test_create_chat_prompt_version_fails_with_nonexistent_prompt_id(
"promptId": str(GlobalID("Prompt", "1")),
"promptVersion": {
"description": "prompt-version-description",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {"messages": [{"role": "USER", "content": "hello world"}]},
"invocationParameters": {"temperature": 0.4},
Expand All @@ -881,7 +862,6 @@ async def test_create_chat_prompt_version_fails_with_nonexistent_prompt_id(
"promptId": str(GlobalID("Prompt", "1")),
"promptVersion": {
"description": "prompt-version-description",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {
"messages": [
Expand All @@ -908,7 +888,6 @@ async def test_create_chat_prompt_version_fails_with_nonexistent_prompt_id(
"promptId": str(GlobalID("Prompt", "1")),
"promptVersion": {
"description": "prompt-version-description",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {
"messages": [
Expand All @@ -935,7 +914,6 @@ async def test_create_chat_prompt_version_fails_with_nonexistent_prompt_id(
"promptId": str(GlobalID("Prompt", "1")),
"promptVersion": {
"description": "prompt-version-description",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {
"messages": [
Expand Down Expand Up @@ -973,7 +951,6 @@ async def test_create_chat_prompt_version_fails_with_nonexistent_prompt_id(
"promptId": str(GlobalID("Prompt", "1")),
"promptVersion": {
"description": "prompt-version-description",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {
"messages": [
Expand Down Expand Up @@ -1034,7 +1011,6 @@ async def test_create_chat_prompt_version_fails_with_invalid_input(
"description": "prompt-description",
"promptVersion": {
"description": "initial-version",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {
"messages": [
Expand Down Expand Up @@ -1075,7 +1051,6 @@ async def test_create_chat_prompt_version_fails_with_invalid_input(
"description": "prompt-description",
"promptVersion": {
"description": "initial-version",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {
"messages": [
Expand Down Expand Up @@ -1164,7 +1139,6 @@ async def test_clone_prompt_succeeds_with_valid_input(
"description": "prompt-description",
"promptVersion": {
"description": "initial-version",
"templateType": "CHAT",
"templateFormat": "MUSTACHE",
"template": {
"messages": [
Expand Down

0 comments on commit 3616842

Please sign in to comment.