Bo Maryniuk
c26e33671a
Add unit test for config is detached from the passed
2018-01-26 10:34:31 +01:00
Bo Maryniuk
61aaf4008c
Add unit test for the Client, config is passed
2018-01-26 10:34:31 +01:00
Bo Maryniuk
11e02bc7be
Add logging assertions and refactor the order of the calls
2018-01-26 10:34:31 +01:00
Bo Maryniuk
dc7746f579
Add unit test for the server runner
2018-01-26 10:34:31 +01:00
Bo Maryniuk
8d9bea0564
Add unit test for configuration of the server starter class
2018-01-26 10:34:31 +01:00
Bo Maryniuk
a0a574e13e
Add log.debug assertion check
2018-01-26 10:34:31 +01:00
Bo Maryniuk
a5f186f021
Add unit test for correct timestamp reply
2018-01-26 10:34:31 +01:00
Bo Maryniuk
dd73783f71
Remove Yoda-expression
2018-01-26 10:34:31 +01:00
Bo Maryniuk
e0ee188a19
Lintfix: too much empty lines
2018-01-26 10:34:31 +01:00
Bo Maryniuk
7e8a01e071
Add unit test for outdated timestamp with reply
2018-01-26 10:34:31 +01:00
Bo Maryniuk
6565c16be4
Add unit test for outdated timestamp at no reply
2018-01-26 10:34:31 +01:00
Bo Maryniuk
24ded041af
Add unit test datagram receives wrong timestamp, replies the reason
2018-01-26 10:34:31 +01:00
Bo Maryniuk
a7700e4a06
Fix unit test doc
2018-01-26 10:34:31 +01:00
Bo Maryniuk
671ed994b1
Add unit test for wrong timestamp with no reply (quiet)
2018-01-26 10:34:31 +01:00
Bo Maryniuk
0bcf66418d
Rename test to the more meaningful name
2018-01-26 10:34:31 +01:00
Bo Maryniuk
84fc332817
Add unit test on datagram_received when bad signature is happening
2018-01-26 10:34:31 +01:00
Bo Maryniuk
fe26b59308
Add transport factory unit test for send_to retry/failure
2018-01-26 10:34:31 +01:00
Bo Maryniuk
05a663a4c6
Refactor exception side effects
2018-01-26 10:34:31 +01:00
Bo Maryniuk
cef644c71e
Add unit test for factory transport on sending success
2018-01-26 10:34:31 +01:00
Bo Maryniuk
405253f9a1
Add factory unit test protocol attribute check
2018-01-26 10:34:31 +01:00
Bo Maryniuk
02c1a4833d
Move sock mock away to the utils mixin
2018-01-26 10:34:31 +01:00
Bo Maryniuk
76cb070c44
Add self ip detection unit test
2018-01-26 10:34:31 +01:00
Bo Maryniuk
4585b37b4e
Add protocol settings unittest
2018-01-26 10:34:31 +01:00
Bo Maryniuk
a39462ecee
Add availability method test
2018-01-26 10:34:31 +01:00
Bo Maryniuk
5771eedd3e
Move test case to the unit tests
2018-01-26 10:34:31 +01:00
Nicole Thomas
b9b3e2e37e
Merge pull request #45610 from terminalmage/kill-six.b-with-fire
...
Replace all usage of six.b
2018-01-24 14:22:06 -05:00
Erik Johnson
d6d7da5c90
Replace all usage of six.b
...
It can't be trusted to produce bytes, it returns unicode when a unicode
string is passed.
2018-01-24 09:17:28 -06:00
Nicole Thomas
e6e977c6a0
Merge branch 'oxygen' into win_fix_test_docker
2018-01-24 09:13:28 -05:00
Nicole Thomas
fc18995873
Merge pull request #45438 from terminalmage/py3-salt.utils-t-v
...
[PY3] Add unicode_literals to salt.utils modules (T-V)
2018-01-23 17:14:16 -05:00
Nicole Thomas
453401a9a0
Merge pull request #45621 from terminalmage/py3-fix-salt.utils.json
...
salt.utils.json: only encode data on PY2
2018-01-23 07:42:49 -05:00
Erik Johnson
ba54ff44a6
add tests for json load/dump helpers
2018-01-22 20:16:59 -06:00
Nicole Thomas
98e2d66809
Merge pull request #45567 from twangboy/win_fix_test_process
...
Fix `unit.utils.test_process` on Windows
2018-01-22 14:50:05 -05:00
Nicole Thomas
d066e75473
Merge pull request #45568 from twangboy/win_fix_test_schema
...
Fix `unit.utils.test_schema` for Windows/Py2
2018-01-22 14:46:23 -05:00
Erik Johnson
3d3a63d237
Update tests for vmware utils
...
These were missed when updating the tests for utils T-V
2018-01-22 08:41:54 -06:00
Erik Johnson
ed530a35ad
[PY3] Add unicode_literals to salt.utils modules (T-V)
2018-01-22 08:41:52 -06:00
Erik Johnson
441e9dabd1
Improve PY3 compatibility of salt.utils.data.decode and encode
...
This adds the ability to specify the encoding and error behavior. It
also adds the "errors" argument to the salt.utils.stringutils funcs for
converting between str, unicode, and bytes.
Tests have also been updated to properly test the recursive behavior of
salt.utils.data.decode/encode.
2018-01-20 22:22:34 -06:00
twangboy
5f59c1573e
Fix issue caused by unicode literals
2018-01-19 22:58:06 +00:00
twangboy
8f2332f45c
Mock sys.platform so the test runs on Windows
2018-01-19 22:15:13 +00:00
twangboy
a9212f9927
remove regex_path variable
2018-01-19 21:37:20 +00:00
twangboy
fe9b35181a
Fix regex statement
...
The path seperator in Windows is an escape character in regex
2018-01-19 21:28:01 +00:00
Nicole Thomas
4fdb5cb135
Merge pull request #45419 from garethgreenaway/oxygen_updating_utils_for_unicode_round_three
...
[oxygen] Oxygen updating utils and related tests for Unicode round three
2018-01-19 16:23:56 -05:00
Nicole Thomas
4cfc66ad57
Merge branch 'oxygen' into oxygen_updating_utils_for_unicode_round_three
2018-01-19 10:21:37 -05:00
twangboy
93aec6fbd9
Fix decode issue on Py2, Use os.linesep
2018-01-18 20:45:40 +00:00
Nicole Thomas
bd891ee13a
Merge pull request #45405 from garethgreenaway/oxygen_updating_utils_for_unicode_round_one
...
[oxygen] Updating various utils and related tests for Unicode goodness.
2018-01-18 10:39:55 -05:00
Erik Johnson
e0890baa31
Use correct attribute in test_log_created
2018-01-17 19:54:47 -06:00
Erik Johnson
2ab1e71ef2
[PY3] Add unicode_literals to salt.utils modules (P)
2018-01-17 19:54:44 -06:00
Gareth J. Greenaway
a773ff90e5
More unicode changes. Adding print_function to all files. Updating various reads & writes to files.
2018-01-17 09:03:14 -08:00
Gareth J. Greenaway
a79112cc91
Updating more utils and tests for Unicode goodness
2018-01-17 09:03:14 -08:00
Gareth J. Greenaway
e14b655c01
More unicode changes. Adding print_function to all files. Updating various reads & writes to files.
2018-01-17 09:02:17 -08:00
Gareth J. Greenaway
db41d9b303
Updating various utils and related tests for unicode goodness.
2018-01-17 09:02:17 -08:00