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

test: add integ tests to test download func #422

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

AlexTranAmz
Copy link
Contributor

What was the problem/requirement? (What/Why)

Integ test did not cover all test cases that we wanted

What was the solution? (How)

Add more integ test to improve coverage.

What is the impact of this change?

We can now test if download with no output dir have the correct behavior
We can now test if long file path on Windows with UNC notation will not raise exception

How was this change tested?

  • hatch run test

  • hatch run integ:test

Was this change documented?

Yes

Is this a breaking change?

No


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@AlexTranAmz AlexTranAmz requested a review from a team as a code owner July 26, 2024 23:27
Copy link

def test_download_outputs_no_outputs_dir(
job_attachment_test: JobAttachmentTest,
sync_outputs: SyncOutputsOutput,
):
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: We should add typing for this return

@AlexTranAmz AlexTranAmz merged commit a77fee8 into aws-deadline:mainline Jul 29, 2024
18 checks passed
@AlexTranAmz AlexTranAmz deleted the add-integ-tests branch July 29, 2024 20:45
rena-cheng pushed a commit to rena-cheng/deadline-cloud that referenced this pull request Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants