[1] + min(4096, resource.getrlimit(resource.RLIMIT_NOFILE)[1])):
Can you create an intermediate variable for the getrlimit value?
[2] +from landscape.tests.helpers import LandscapeTest + +class CleanFDsTests(LandscapeTest):
Missing a blank line.
[3] + clean_fds() + + + def test_clean_fds_sanity(self):
Extra blank line :).
+1!
[1] getrlimit( resource. RLIMIT_ NOFILE) [1])):
+ min(4096, resource.
Can you create an intermediate variable for the getrlimit value?
[2] tests.helpers import LandscapeTest LandscapeTest) :
+from landscape.
+
+class CleanFDsTests(
Missing a blank line.
[3] fds_sanity( self):
+ clean_fds()
+
+
+ def test_clean_
Extra blank line :).
+1!