Modify tests to use pytest fixture

This commit is contained in:
Aman Sharma
2019-05-10 13:00:42 +05:30
parent 21388952e9
commit db07f3a08d
2 changed files with 21 additions and 15 deletions
+3 -3
View File
@@ -27,15 +27,15 @@ class CmdVersion(CmdBase):
def add_parser(subparsers, parent_parser):
ADD_HELP = (
VERSION_HELP = (
"Output the system/environment information along with the DVC version"
)
add_parser = subparsers.add_parser(
"version",
parents=[parent_parser],
description=append_doc_link(ADD_HELP, "version"),
help=ADD_HELP,
description=append_doc_link(VERSION_HELP, "version"),
help=VERSION_HELP,
formatter_class=argparse.RawDescriptionHelpFormatter,
)
add_parser.set_defaults(func=CmdVersion)