| # Licensed to the Apache Software Foundation (ASF) under one or more | |
| # contributor license agreements. See the NOTICE file distributed with | |
| # this work for additional information regarding copyright ownership. | |
| # The ASF licenses this file to You under the Apache License, Version 2.0 | |
| # (the "License"); you may not use this file except in compliance with | |
| # the License. You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, | |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| # See the License for the specific language governing permissions and | |
| # limitations under the License. | |
| [pytest] | |
| markers = | |
| cleanEZ: clean up the encryption zone | |
| createEZ: create encryption zone | |
| get: get methods | |
| post: post methods | |
| put: put methods | |
| delete: delete methods | |
| positive: positive test cases | |
| negative: negative test cases | |
| xuserrest: xuserrest test cases | |
| secure_endpoint: secure endpoint test cases | |
| rolerest: rolerest test cases | |
| api: public API v2 test cases | |
| api_test: legacy asset REST API test cases (admin/auditor/user/keyadmin) | |
| hive: Hive plugin enforcement (Docker HS2) | |
| hbase: HBase plugin enforcement (Docker HBase shell) | |
| hdfs_policy: HDFS Ranger plugin path policy enforcement (Docker dfs) | |
| kafka: Kafka plugin enforcement (Docker Kafka console producer) | |
| pdp: PDP live REST API tests | |
| audit_ingestor: Audit Ingestor live REST API tests | |
| pythonpath = . | |
| # No console logging during pytest; logger.info -> logs/<test_module_name>.log (see conftest.py). | |
| log_cli = false | |
| log_file = logs/pytest.log | |
| log_file_mode = w | |
| log_file_level = INFO | |
| log_file_format = %(asctime)s %(levelname)s [%(name)s] %(message)s | |
| log_file_date_format = %Y-%m-%d %H:%M:%S |