Justin Anderson
e744b795d1
Make ddns_test happy with py3 and py26 ( #35857 )
...
* Make python3 and python26 happy
* Don't need both ways of nesting with statements
* No longer need pylint disable
* Lint fix
* take out the correct import
2016-08-29 16:33:54 -06:00
rallytime
74002ab9e7
Pylint fix
2016-07-22 09:13:33 -06:00
rallytime
9cc385cfcb
Python3 doesn't have contextlib.nested
...
The with statement supports the nested functionality by default.
2016-07-21 15:38:00 -06:00
Pedro Algarvio
a124936afc
Py3 compatibility
2015-01-30 22:27:11 +00:00
Justin Findlay
b178ee10c2
lint fixes
2015-01-27 14:32:29 -07:00
Justin Findlay
41dd3307dc
fix ddns_test for py26, broken for py3
...
The way to fix this for py26+py3 compatibility is probably to create a
wrapper for contextlib.nested in something like
salt.utils.contextlib.nested or salt.utils.py3_compat.contextlib.nested.
2015-01-27 14:32:29 -07:00
Justin Findlay
89d27d3054
refactor ddns_test test_update
2015-01-26 15:58:59 -07:00
Justin Findlay
f0573670f9
fix skipIf logic for DDNSTestCase
2015-01-26 13:17:12 -07:00
Justin Findlay
bf24db2d69
fix ddns tests
2015-01-26 12:49:45 -07:00
Justin Findlay
63369b0a1d
reenable ddns_test
2015-01-23 16:04:52 -07:00
Justin Findlay
d4547bc025
fix skipIf typo
2015-01-21 12:37:51 -07:00
Justin Findlay
5f3f2f3bae
fix ddns tests
...
These tests will only work if dnspython is installed. Mocking away
dnspython is a great amount of work, so we'll just disable these tests
for now.
2015-01-21 12:17:09 -07:00
Rupesh Tare
721fffa02c
fix pylint errors
2015-01-13 19:54:49 +05:30
Rupesh Tare
f8f28580df
test ddns module
2015-01-13 19:00:17 +05:30