Tests: migrated to the pytest.
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
from unit.applications.proto import TestApplicationProto
|
||||
from conftest import option
|
||||
|
||||
|
||||
class TestApplicationRuby(TestApplicationProto):
|
||||
application_type = "ruby"
|
||||
|
||||
def load(self, script, name='config.ru', **kwargs):
|
||||
script_path = self.current_dir + '/ruby/' + script
|
||||
script_path = option.test_dir + '/ruby/' + script
|
||||
|
||||
self._load_conf(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user