Chris Rebert
c487d86fff
tests: standardize to modern 'except FooError as err:' syntax
2013-05-03 19:55:50 -07:00
Chris Rebert
498d2999db
more typo fixes
2013-05-01 16:52:52 -07:00
Toke Høiland-Jørgensen
5b6e17474b
IPv6 address literals should be specified without brackets in config files.
2013-03-23 23:57:23 +01:00
Toke Høiland-Jørgensen
0f0a7cf560
Add a unit test for passing IPv6-formatted addresses to verify_socket.
2013-03-23 23:34:47 +01:00
Pedro Algarvio
c5fe83272f
Even more open()
to salt.utils.fopen()
.
2012-11-18 18:57:10 +00:00
Thomas S Hatch
7a5cead786
this is 5 now...
2012-10-06 22:59:42 -06:00
Thomas S Hatch
5aa1e847b6
update tests for changes in directory perms
2012-10-06 22:53:04 -06:00
Pedro Algarvio
39af3fb5d6
Fix the test-cases custom logging handler.
...
* Even when the tests logging handler stream is directed to `/dev/null` we still need a low logging level so that our custom logging handler, used to see if certain log messages are emitted or not, catches messages.
2012-09-20 19:27:32 +01:00
Pedro Algarvio
243edfb9ad
Also test for not triggering log messages. Refs #1986 .
2012-09-16 16:27:17 +01:00
Pedro Algarvio
969dc01ce1
Skip test on travis-ci environment. Refs #1986 .
2012-09-16 16:12:17 +01:00
Pedro Algarvio
b445674d98
Skip test if max open files exception is triggered.
2012-09-16 16:00:36 +01:00
Pedro Algarvio
0fd61050c9
Inform the users about the current max open files situation.
...
We defined that the amount of accepted keys should be lower than 1/4 of the system's max open file setting. Inform the user about the current situation, the logging level is "attached" to the gravity of the current status.
2012-09-15 15:32:07 +01:00
Pedro Algarvio
9dfce0f7d2
Final fix for saltstack/salt#1756
...
Don't try to import `salt.log` during tests. Adapt `check_user` test accordingly.
2012-08-11 01:28:49 +01:00
Pedro Algarvio
1cae292c68
Fix tests/unit/utils/verify_test.py
since verify_user no longer accepts the log argument.
2012-08-11 00:30:13 +01:00
Dan Colish
aacd9cc5bd
Use getpass.getuser since os.getlogin requires a tty and tests do not
...
always run with one.
2012-06-30 23:31:01 -07:00
Dan Colish
1b1431ba66
Skip verify_env test on windows.
2012-06-30 14:11:37 -07:00
Dan Colish
01b74fc04c
Add unittests for salt.utils.verify
2012-06-30 13:28:15 -07:00