Commit Graph

84011 Commits

Author SHA1 Message Date
Anthony Shaw
136816c109
fix missing commas in docstrings 2017-11-24 16:36:38 +01:00
Anthony Shaw
dd682106cd
add module for testing napalm_probes 2017-11-24 16:34:40 +01:00
Anthony Shaw
452a8965a3
complete coverage for NTP module 2017-11-24 16:34:16 +01:00
Anthony Shaw
dfdb43780d
coverage for ntp testing 2017-11-22 11:36:22 +01:00
Anthony Shaw
5ce67c8a7b
setup all tests for napalm_acl module 2017-11-22 09:01:26 +00:00
Anthony Shaw
40431228c8
Add test module for napalm_acl 2017-11-22 08:41:39 +00:00
Anthony Shaw
cd8d87c61f
create a common module for napalm tests, setup napalm_bgp tests 2017-11-22 08:37:56 +00:00
Anthony Shaw
98cafda501
fix typo in docstring 2017-11-22 08:37:29 +00:00
Anthony Shaw
88ef9f18fc
ignore lint error on import 2017-11-22 08:11:07 +00:00
Anthony Shaw
25427d845e
convert key iterator to list as python 3 wont index an iterator 2017-11-22 08:10:36 +00:00
Anthony Shaw
ba0280e727
linting updates 2017-11-11 15:25:36 +02:00
Anthony Shaw
78b90f3d0c
add remaining tests 2017-11-11 15:21:24 +02:00
Anthony Shaw
386c4e5791
add tests for all the getters 2017-11-11 14:55:25 +02:00
Anthony Shaw
c63222358b
update tests with correct assertions and mock methods on device instance 2017-11-06 05:01:31 +02:00
Anthony Shaw
b69c559c52
fix kwargs typo
setup basic unit test class

update wrapper
2017-11-06 04:39:30 +02:00
Mircea Ulinic
edea76d3f3
Improve the net.load_config function
This function used to fail whenever the proxy minion run elsewhere
than the master, and it was invoked usign the filename arg.
With this change, the user can specify the filename using any of
the usual Salt URI, i.e., salt://, besides https:// etc.
Not only that is an improvement for reading files from whatever
location, but also readin files from the disk using the underlying
napalm function was very susceptible to race conditions. From now
on, the resource is read using the cp.get_file_str execution fun
and pass the result to napalm, as text to be loaded on the device.
2017-10-30 13:02:39 +00:00
Nicole Thomas
dbc5e224e9
Merge pull request #44316 from rallytime/fix-lint
Fix lint failure on 2017.7 branch
2017-10-27 14:36:08 -04:00
rallytime
6d2490f6a0
Fix lint failure on 2017.7 branch 2017-10-27 13:03:01 -04:00
Nicole Thomas
b2b0c770a4
Merge pull request #44279 from rallytime/merge-2017.7
[2017.7] Merge forward from 2016.11 to 2017.7
2017-10-27 12:17:18 -04:00
Erik Johnson
bd5b9dd0aa Merge pull request #44291 from Ch3LL/pillar_test
add saltutil.refresh_pillar test
2017-10-27 10:19:42 -05:00
Nicole Thomas
ba17a1c4d0 Merge pull request #44267 from twangboy/win_fix_lgpo
Fix type and Py3 issues in LGPO module
2017-10-27 10:27:50 -04:00
Nicole Thomas
e16707c403 Merge pull request #44285 from Ch3LL/all_spm
add spm integration tests for remove and build
2017-10-26 17:20:09 -04:00
Nicole Thomas
6392896a22 Merge pull request #44301 from twangboy/win_fix_test_pydsl
Fix test_pydsl on Windows
2017-10-26 17:14:21 -04:00
twangboy
6db23757bc
Fix test_pydsl on Windows
Fix salt.utils.fopen to handle the 't' mode correctly in Windows
Fix the test_pysl test issues with spacing and file paths
2017-10-26 10:18:07 -06:00
Ch3LL
1f77f3e6a3
add skipif logic for fallocate cmd 2017-10-26 10:09:33 -04:00
Nicole Thomas
8787d02688 Merge pull request #44293 from UtahDave/fix_unittest_docs
Fix documentation grammar and spelling errors
2017-10-26 09:05:30 -04:00
David Boucha
c919648ab4
Fix documentation grammar and spelling errors 2017-10-25 17:24:26 -06:00
Ch3LL
34e2955445
add saltutil.refresh_pillar test 2017-10-25 15:56:49 -04:00
Mike Place
6e33743c1a Merge pull request #44248 from Ch3LL/spm_create_repo
SPM tests: use _spm_build_files method during test_build setup
2017-10-25 21:45:02 +02:00
rallytime
8237f45a46
Add print_function to __future__ import list 2017-10-25 14:54:03 -04:00
Ch3LL
03b5c4bc6d
add spm integration tests for remove and build 2017-10-25 12:09:51 -04:00
Ch3LL
0a387c2ecd
fix pylint 2017-10-25 12:08:29 -04:00
Ch3LL
f383f05a93
Add SPM create_repo integration test 2017-10-25 12:06:08 -04:00
rallytime
055b0701de
Lint fix from sloppy merge conflict resolution 2017-10-25 11:58:44 -04:00
rallytime
1c3cb5c6a4
Merge branch '2016.11' into '2017.7'
Conflicts:
  - .gitignore
  - tests/unit/states/test_file.py
2017-10-25 10:04:08 -04:00
Mike Place
bd75be24ca Merge pull request #44253 from Ch3LL/spm_install
Add multiple spm integration tests
2017-10-25 15:36:02 +02:00
Mike Place
75ee1ebc50 Merge pull request #44254 from twangboy/win_fix_test_win_groupadd
Fix `unit.modules.test_win_groupadd` for Windows
2017-10-25 15:33:39 +02:00
Mike Place
8a1ea165af Merge pull request #44259 from gtmanfred/2016.11
begin switching in kitchen-salt for running the test suite
2017-10-25 15:30:34 +02:00
Mike Place
4c23fa63bb Merge pull request #44266 from Ch3LL/proxy_tests
Add state, grains and service proxy tests
2017-10-25 15:08:49 +02:00
Mike Place
9d6bc8509b Merge pull request #44268 from twangboy/win_fix_lgpo_typo
Fix typo
2017-10-25 15:01:34 +02:00
Mike Place
0beb65a283 Merge pull request #44269 from terminalmage/fix-log-message
Fix log message in salt.utils.gitfs
2017-10-25 15:00:57 +02:00
twangboy
5d22d34cac
Use unicode_literals 2017-10-24 17:35:03 -06:00
twangboy
40636397d8
Fix set for Py3 2017-10-24 16:40:04 -06:00
Erik Johnson
bc9cd65496
Fix log message in salt.utils.gitfs
This needed to be using the config overlay function and not referencing
the attribute directly.
2017-10-24 17:36:29 -05:00
twangboy
a6a4c10a77
Fix typo 2017-10-24 15:35:40 -06:00
twangboy
8f8c706426
Fix typo 2017-10-24 15:32:08 -06:00
Ch3LL
e5701b472d
Add state, grains and service proxy tests 2017-10-24 16:59:56 -04:00
Daniel Wallace
56a3ad8f68
fix pylint comments 2017-10-24 12:18:27 -06:00
Daniel Wallace
4add666db1
add comment to Gemfile and move copyartifacts
moved copyartifacts.py to tests/support

Also added a comment to the Gemfile that this is only used to run the testsuite with kitchen-salt
2017-10-24 12:01:57 -06:00
Daniel Wallace
b4c8f7eb57
fix pylint 2017-10-24 10:44:25 -06:00