Commit Graph

15 Commits

Author SHA1 Message Date
rallytime
8c55294212 Remove pylint disable/enable comments 2015-03-10 15:56:07 -06:00
rallytime
254c17d910 Just use nested with statements instead of \ contiuation
Python 2.6 doesn't like that.

This should fix the test errors we are seeing on CentOS 6 and
Ubuntu 10 in the test suite.
2015-03-10 15:11:39 -06:00
Justin Findlay
7a49e3e877 fix test lint 2015-03-09 16:00:10 -06:00
Justin Findlay
2c04a36efa fix iptables tests 2015-03-09 15:09:55 -06:00
Tarjei Husøy
5e05fd717a Quote iptables args with leading/trailing spaces 2015-02-12 16:35:33 +01:00
Tarjei Husøy
9f6dfb5a04 Remove lots of string concatenation in iptables module 2015-02-11 23:25:45 +01:00
Tarjei Husøy
943be9f0b3 Remove a lot of duplication in iptables module 2015-02-11 23:24:07 +01:00
Tarjei Husøy
9afc8fca8a Add support for iptables --log-* arguments 2015-02-11 23:24:06 +01:00
Tarjei Husøy
aeb91b000c Refactor after_jump handling in iptaples module 2015-02-11 23:23:20 +01:00
Justin Findlay
657b79912e fix iptables unit tests for merge forward 2015-02-11 10:52:07 -07:00
Pedro Algarvio
62e9407903 Merge pull request #20349 from rallytime/develop_pylint
Develop pylint
2015-02-04 11:58:39 +00:00
Justin Findlay
334245170a add mocks to fix test when iptables cmd is absent 2015-02-03 13:22:22 -07:00
rallytime
244ba09cfc Python 3 compat for several new test files 2015-02-03 11:34:49 -07:00
Jayesh Kariya
d1b4fce53e removed pylint error 2015-02-03 13:34:01 +05:30
Jayesh Kariya
1ae01547e3 adding iptables unit test case 2015-02-03 12:02:56 +05:30