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

Tests rework #428

Merged
merged 58 commits into from
Oct 7, 2024
Merged

Tests rework #428

merged 58 commits into from
Oct 7, 2024

Conversation

Alienmaster
Copy link
Member

No description provided.

@Alienmaster Alienmaster added the backend This issue is related to the backend label Oct 2, 2024
@Alienmaster Alienmaster self-assigned this Oct 2, 2024
Copy link
Member

@bigabig bigabig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bitte dann noch die github action run-unit-tests umbenennen zu run tests oder so

# doctag1_update_read_response["parent_tag_id"] == doctag1_update["parent_tag_id"]
# )
# assert doctag1_update_read_response["id"] == doctag1["id"]
# assert doctag1_update_read_response["project_id"] == doctag1_update["project_id"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

die kommentare alle raus, wenn nicht gebraucht wird

@@ -0,0 +1 @@
user.name=Alienmaster [email protected] sequence.editor=code --wait core.editor=code --wait
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

die datei muss weg


request.addfinalizer(lambda: crud_code.remove(db=db, id=code_id))
# request.addfinalizer(lambda: crud_code.remove(db=db, id=code_id))

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

die finalizer dann acuh alle komplett weg, nicht nur rauskommentieren


request.addfinalizer(lambda: crud_project.remove(db, id=project_id))
# request.addfinalizer(lambda: crud_project.remove(db, id=project_id))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hier auch


request.addfinalizer(lambda: crud_user.remove(db=db, id=user_id))
# request.addfinalizer(lambda: crud_user.remove(db=db, id=user_id))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hier auch


# def __del__(self):
# for user in self.userList.values():
# client.delete(f"/user/{user['id']}", headers=user["AuthHeader"])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

auskommentieten code bitte löschen

# "Authorization": f"{login['token_type']} {login['access_token']}"
# }
# for project in self.projectList.values():
# client.delete(f"/project/{project['id']}", headers=superuser_authheader)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hier

@@ -0,0 +1,3 @@
[pytest]
; testpaths =
; test/app
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

braucht man die datei? sieht iwie unnötig aus^^

@bigabig bigabig mentioned this pull request Oct 7, 2024
@bigabig bigabig merged commit d9a8410 into mwp_v1 Oct 7, 2024
5 of 6 checks passed
@bigabig bigabig deleted the api-tests-merge-rb branch October 7, 2024 12:22
@bigabig bigabig mentioned this pull request Oct 7, 2024
25 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend This issue is related to the backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants