Commit 34e29673 authored by John Kirkwood's avatar John Kirkwood

Tests for #2 and #3

parent fdab54f1
Pipeline #2014 passed with stages
in 36 seconds
......@@ -16,6 +16,8 @@ import pytest
('run_module_nodoc', 'test_cli2.test_cli2'),
('help_module', 'help cli2'),
('help_module_attr_notfound', 'help cli2.skipppp'),
('help_module_no_callables', 'help datetime'),
('help_module_no_signature', 'help datetime.datetime'),
('docmod', 'docmod cli2'),
('docmod_noargs', 'docmod'),
('docfile', 'docfile cli2/cli.py'),
......
command: cli2 help datetime
retcode: 1
stdout:
Concrete date/time and related types.
See http://www.iana.org/time-zones/repository/tz-link.html for
time zone and DST data sources.
command: cli2 help datetime.datetime
retcode: 1
stdout:
Signature: datetime.datetime
datetime(year, month, day[, hour[, minute[, second[, microsecond[,tzinfo]]]]])
The year, month and day arguments are required. tzinfo may be None, or an
instance of a tzinfo subclass. The remaining arguments may be ints.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment