Loading test/unit/shed_unit/test_shed_index.py +2 −2 Original line number Diff line number Diff line Loading @@ -36,11 +36,11 @@ def community_file_dir(): @pytest.fixture() def community_file_structure(community_file_dir): community = namedtuple("community", "file_path hgweb_config_dir hgweb_repos_prefix dburi") community = namedtuple("community", "file_path hgweb_config_dir hgweb_repo_prefix dburi") return community( file_path=os.path.join(community_file_dir, "database", "community_files"), hgweb_config_dir=community_file_dir, hgweb_repos_prefix="repos/", hgweb_repo_prefix="repos/", dburi="sqlite:///%s" % os.path.join(community_file_dir, "database", "community.sqlite"), ) Loading Loading
test/unit/shed_unit/test_shed_index.py +2 −2 Original line number Diff line number Diff line Loading @@ -36,11 +36,11 @@ def community_file_dir(): @pytest.fixture() def community_file_structure(community_file_dir): community = namedtuple("community", "file_path hgweb_config_dir hgweb_repos_prefix dburi") community = namedtuple("community", "file_path hgweb_config_dir hgweb_repo_prefix dburi") return community( file_path=os.path.join(community_file_dir, "database", "community_files"), hgweb_config_dir=community_file_dir, hgweb_repos_prefix="repos/", hgweb_repo_prefix="repos/", dburi="sqlite:///%s" % os.path.join(community_file_dir, "database", "community.sqlite"), ) Loading