diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-04-22 16:43:11 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-04-25 13:19:02 +0200 |
commit | 4d8810538798aa815a459f298349a03fc6b3ea3f (patch) | |
tree | 913f7eb355cde988c621b16928349e3623fb19f1 /tests/config.json | |
parent | bfd6005d0e1481e8a4df1f06c74e70a558199b71 (diff) | |
download | haketilo-hydrilla-4d8810538798aa815a459f298349a03fc6b3ea3f.tar.gz haketilo-hydrilla-4d8810538798aa815a459f298349a03fc6b3ea3f.zip |
use pyproject.toml for pytest configuration and move all tests to tests/ directory
this commit also fixes inclusion of sample source package's REUSE data in source dist (needed for automated tests)
Diffstat (limited to 'tests/config.json')
-rw-r--r-- | tests/config.json | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/config.json b/tests/config.json new file mode 100644 index 0000000..a75e2b1 --- /dev/null +++ b/tests/config.json @@ -0,0 +1,33 @@ +// SPDX-License-Identifier: CC0-1.0 + +// Hydrilla development config file. +// +// Copyright (C) 2021, 2022 Wojtek Kosior +// +// Available under the terms of Creative Commons Zero v1.0 Universal. + +// this config is meant to be used in development environment; unlike +// src/hydrilla/server/config.json, it shall not be included in distribution +{ + // Relative paths now get resolved from config's containing direcotry. + "malcontent_dir": "./sample_malcontent", + + // Hydrilla will display this link to users as a place where they can + // obtain sources for its software. This config option is meant to ease + // compliance with the AGPL. + "hydrilla_project_url": "https://hydrillabugs.koszko.org/projects/hydrilla/wiki", + + // Port to listen on (not relevant when Flask.test_client() is used). + "port": 10112, + + // Use english for HTML files and generated messages. + "language": "en_US", + + // Make Hydrilla error out on any warning + "werror": true + + // With the below we can make hydrilla look for missing content items in + // another instance instead of just erroring/warning. + // TODO: feature not implemented + // ,"hydrilla_parent": "https://api.hydrilla.koszko.org/1.0/" +} |