-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests/beakerlib: Add new test which covers build-in functions. #591
base: master
Are you sure you want to change the base?
tests/beakerlib: Add new test which covers build-in functions. #591
Conversation
@@ -0,0 +1,16 @@ | |||
import base | |||
from tuned.utils.commands import commands |
Check notice
Code scanning / CodeQL
Unused import
@@ -0,0 +1,16 @@ | |||
from . import base | |||
from tuned.utils.commands import commands |
Check notice
Code scanning / CodeQL
Unused import
super(self.__class__, self).__init__("testfunc", 2) | ||
|
||
def execute(self, args): | ||
f = open(str(args[0]),'w') |
Check warning
Code scanning / CodeQL
File is not always closed
super(self.__class__, self).__init__("testfunc", 2) | ||
|
||
def execute(self, args): | ||
f = open(str(args[0]),'w') |
Check warning
Code scanning / CodeQL
File is not always closed
@RHEmployee could you fix the CodeQL found issues and could you fix the test? |
Rhel7 or centos7 is not supported by this test which is reflected in provided metadata. One issue is preset: wrong detection of centos. |
e5ddeb1
to
a3199e6
Compare
a3199e6
to
eb5681e
Compare
/test |
/packit test |
No description provided.