Format code to suite goimports style

This commit is contained in:
Blerim Sheqa 2017-12-20 09:27:16 +01:00
parent 9cde362ab2
commit 55cd46c738
3 changed files with 5 additions and 3 deletions

View File

@ -1,8 +1,9 @@
package cmd
import (
cmd "github.com/elastic/beats/libbeat/cmd"
"github.com/icinga/icingabeat/beater"
cmd "github.com/elastic/beats/libbeat/cmd"
)
// Name of this beat

View File

@ -2,6 +2,7 @@ import sys
sys.path.append('../../vendor/github.com/elastic/beats/libbeat/tests/system')
from beat.beat import TestCase
class BaseTest(TestCase):
@classmethod

View File

@ -10,10 +10,10 @@ class Test(BaseTest):
Basic test with exiting Icingabeat normally
"""
self.render_config_template(
path=os.path.abspath(self.working_dir) + "/log/*"
path=os.path.abspath(self.working_dir) + "/log/*"
)
icingabeat_proc = self.start_beat()
self.wait_until( lambda: self.log_contains("icingabeat is running"))
self.wait_until(lambda: self.log_contains("icingabeat is running"))
exit_code = icingabeat_proc.kill_and_wait()
assert exit_code == 0