Skip to content

Test fails on initial run #1

@flashbyte

Description

@flashbyte

After pulling and creating the environment, I ran the tests and they failed due to missing index.md

======================================================================
ERROR: test_copy_index_md_to_docs (tests.compiler_tests.CompilerTests)

Traceback (most recent call last):
File "/Users/nils.mull/repos/github/MkRadar/tests/compiler_tests.py", line 40, in test_copy_index_md_to_docs
Compiler._copy_index_md_to_docs(self.website_path)
File "/Users/nils.mull/repos/github/MkRadar/helpers/compiler.py", line 103, in _copy_index_md_to_docs
Compiler._write_into_file(join(website_path, "docs", "index.md"), file.read(), 'w')
File "/Users/nils.mull/repos/github/MkRadar/helpers/compiler.py", line 55, in _write_into_file
with open(file, writemode) as file:
FileNotFoundError: [Errno 2] No such file or directory: 'website/docs/index.md'


Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions