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 cp.push test #39362

Merged
merged 1 commit into from Feb 14, 2017
Merged

Add cp.push test #39362

merged 1 commit into from Feb 14, 2017

Conversation

dincamihai
Copy link
Contributor

What does this PR do?

Add test for calling cp.push with correct arguments.

What issues does this PR fix or reference?

I've also found out that there's no test for checking that cp.push is working when passing the right arguments, so I wrote one.

Tests written?

Yes

@dincamihai
Copy link
Contributor Author

@gtmanfred I've created a new PR to 2016.3 as you advised here #39353

@rallytime
Copy link
Contributor

Thanks for adding this test @dincamihai. There are some lint errors that need to be cleaned up. Can you take a look at those?

https://jenkins.saltstack.com/job/PR/job/salt-pr-lint-n/8523/violations/file/tests/unit/modules/cp_test.py/

Context management in Python 2.6 needs the with statements to be nested.

@dincamihai dincamihai force-pushed the cp-push-test-2016.3 branch 2 times, most recently from 4ab98d6 to 12f891a Compare February 14, 2017 16:12
@cachedout cachedout merged commit 8b8ab8e into saltstack:2016.3 Feb 14, 2017
@dincamihai dincamihai deleted the cp-push-test-2016.3 branch February 15, 2017 09:02
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.

None yet

3 participants