mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-02-06 14:53:18 +08:00
This also removes the outdated comments around authorship of each file. If there is still interest in this information, one can just look at the git history.
17 lines
454 B
Python
17 lines
454 B
Python
# -*- coding: utf-8 -*-
|
|
# SPDX-License-Identifier: MIT
|
|
import os.path
|
|
|
|
from module_build_service import conf
|
|
|
|
|
|
class TestConfig:
|
|
def test_path_expanduser(self):
|
|
test_dir = "~/modulebuild/builds"
|
|
conf.mock_resultsdir = test_dir
|
|
assert conf.mock_resultsdir == os.path.expanduser(test_dir)
|
|
|
|
test_dir = "~/modulebuild/builds"
|
|
conf.cache_dir = test_dir
|
|
assert conf.cache_dir == os.path.expanduser(test_dir)
|