Michael Steed
83a96367a4
Manual merge of #24414 per thatch45
2015-06-06 07:47:52 -06:00
Pedro Algarvio
60f215f191
Add from __future__ import absolute_import
2015-01-30 22:25:04 +00:00
Pedro Algarvio
7b2126c550
Make pylint ignore "non issues"
2014-08-10 06:06:41 +01:00
Pedro Algarvio
9ebe6f3873
Test exc_info
per handler
2014-08-10 03:44:53 +01:00
Pedro Algarvio
4d7ca91424
Remove unnecessary
©️ and :license:
from file headers
2014-05-26 19:26:15 +01:00
Pedro Algarvio
e18ba0758b
Don't include authorship in generated documentation, the Sphinx way.
2013-09-16 17:24:00 +01:00
Pedro Algarvio
7cdddf8bf8
Fix unit.log_test.TestLog.test_issue_2853_regex_TypeError
to import the proper(renamed) logging module.
2013-08-30 19:32:39 +00:00
Pedro Algarvio
598fc60e3c
Fix unit.log_test.TestLog.test_issue_2853_regex_TypeError
by importing salt's logging from the proper module.
2013-08-30 19:32:39 +00:00
Pedro Algarvio
cb0922faf7
Updated some of the test cases to use a much more readable approach using salttesting.helpers.ensure_in_syspath()
.
2013-06-28 00:12:59 +01:00
Pedro Algarvio
663f54ef9f
Update copyright years of changed files. Added __main__
execution to tests/integration/states/pip.py
.
2013-06-28 00:12:57 +01:00
Pedro Algarvio
222be7b446
Make sure every test module is runnable by __main__
.
...
* Double to single quotes
2013-06-28 00:12:56 +01:00
Chris Rebert
c487d86fff
tests: standardize to modern 'except FooError as err:' syntax
2013-05-03 19:55:50 -07:00
Thomas S Hatch
b86a8d6da8
Pylint cleanup for salt log tests
2013-02-07 15:50:43 -07:00
Pedro Algarvio
d3391f4db0
Harden git describe
parsing so it does not fail on awkward situations.
...
This issue came up because a user is using custom tags and git describe for him is something like `debian/0.11.1+ds-1-3-ga0afcb`.
Added unittests for this.
2013-01-19 02:31:00 +00:00
Pedro Algarvio
c20cb1da51
Fix logging unit tests. Thanks @shadowfax-chc.
2013-01-08 03:41:59 +00:00
Pedro Algarvio
8d092afddc
Don't assume digits in logging format strings. Refs #2859 , fixes #2853 .
...
Sorry @ryanschneider for stepping in on your fix.
Nothing is assumed now, and several checks are made. If any of the checks fail, nothing else is done in `salt.log.Logging.__new__()`.
Added a test case which will take care of possible regressions on this bug fix.
2012-12-11 10:10:03 +00:00