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 test for tcms.rpc.api.attachment #2054

Merged
merged 1 commit into from
Nov 2, 2020

Conversation

awalvie
Copy link
Contributor

@awalvie awalvie commented Oct 31, 2020

No description provided.

file_name = 'attachment.txt'

self.rpc_client.TestPlan.add_attachment(self.plan.pk, file_name, 'a2l3aXRjbXM=')
attachments = self.rpc_client.TestPlan.list_attachments(self.plan.pk)
Copy link
Member

Choose a reason for hiding this comment

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

In this scenario that would happen during setup and then just try to remove the file and verify it's not there anymore.

@atodorov atodorov added the MLH Fellowship https://fellowship.mlh.io/programs/open-source label Oct 31, 2020
@awalvie awalvie force-pushed the test_for_attachment branch from ed45ad7 to d1fe70b Compare November 1, 2020 19:10
@awalvie awalvie requested a review from atodorov November 1, 2020 19:11
@atodorov atodorov merged commit 9920328 into kiwitcms:master Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MLH Fellowship https://fellowship.mlh.io/programs/open-source
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants