Skip to content
Snippets Groups Projects
Commit 1d60d196 authored by Ashwin Kumar Karnad's avatar Ashwin Kumar Karnad
Browse files

add another test

parent a4721854
Branches
No related tags found
1 merge request!89Implement the init command
......@@ -560,6 +560,12 @@ def test_get_root_dir(tmp_path):
root_dir = mod.get_root_dir()
assert root_dir == tmp_path
# test that initialising in a subdirectory makes it the root dir
with mod.os_chdir(sub_dir):
mod.initialize_environment(sub_dir)
root_dir = mod.get_root_dir()
assert root_dir == sub_dir
def test_interface(tmp_path):
"""Test other things (not implemented yet)."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment