Skip to content
Snippets Groups Projects
Commit 4a370092 authored by Mate Balajti's avatar Mate Balajti
Browse files

fix: update cli.py and test_cli.py

parent 2ecfa81e
No related branches found
No related tags found
1 merge request!58refactor: update CLI
Pipeline #17237 failed
This commit is part of merge request !58. Comments created here will be created in the context of that merge request.
"""Set up project."""
from setuptools import setup, find_packages
from pathlib import Path
from setuptools import setup, find_packages
project_root_dir = Path(__file__).parent.resolve()
with open(project_root_dir / "requirements.txt",
"r", encoding="utf-8") as f:
INSTALL_REQUIRES = f.read().splitlines()
url = 'https://git.scicore.unibas.ch/zavolan_group/tools/terminal-fragment-selector'
URL = ('https://git.scicore.unibas.ch/zavolan_group/'
'tools/terminal-fragment-selector')
setup(
name='terminal-fragment-selector',
version='0.1.1',
url=url,
url=URL,
license='MIT',
author='Hugo Madge Leon, Sunho Kim, Tanya Nandan',
author_email='hmadge@ethz.ch',
......
......@@ -27,5 +27,5 @@ def test_file():
def test_main():
"""Test main() function."""
with pytest.raises(TypeError):
main("")
with pytest.raises(SystemExit):
main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment