1import os 2import re 3import shutil 4import time 5 6import pytest 7
| 1import os 2import re 3import shutil 4import time 5 6import pytest 7
|
8from conftest import option
| |
9from conftest import unit_stop 10from unit.applications.lang.php import TestApplicationPHP
| 8from conftest import unit_stop 9from unit.applications.lang.php import TestApplicationPHP
|
| 10from unit.option import option
|
11 12class TestPHPApplication(TestApplicationPHP): 13 prerequisites = {'modules': {'php': 'all'}} 14 15 def before_disable_functions(self): 16 body = self.get()['body'] 17 18 assert re.search(r'time: \d+', body), 'disable_functions before time'
--- 632 unchanged lines hidden --- | 11 12class TestPHPApplication(TestApplicationPHP): 13 prerequisites = {'modules': {'php': 'all'}} 14 15 def before_disable_functions(self): 16 body = self.get()['body'] 17 18 assert re.search(r'time: \d+', body), 'disable_functions before time'
--- 632 unchanged lines hidden --- |