summaryrefslogtreecommitdiff
path: root/tests/test_run_pyscript.py
Commit message (Collapse)AuthorAgeFilesLines
* Added info on semantic versioning and branching strategy to CONTRIBUTING.mdTodd Leonhardt2020-04-241-1/+2
| | | | | | | Also: - Added isort to Pipenv dev - Added setup.cfg to make it easy to run flake8, doc8, and isort directly from the command line without using invoke - Ran isort to sort includes
* Updated error textKevin Van Brunt2020-04-201-1/+1
|
* cmd2 now considers ipy a pyscript environmentKevin Van Brunt2020-04-201-1/+1
|
* Fixed unit test nameKevin Van Brunt2020-04-111-1/+1
|
* Made some optional arguments with defaults keyword-only.Kevin Van Brunt2020-04-111-1/+8
| | | | | Added unit test for echo argument to pyscript app() command. Removed _relative_load from hidden commands since that command was renamed.
* Fixed bug where pyscripts could edit cmd2.Cmd.py_locals dictionary.Kevin Van Brunt2020-02-141-5/+4
| | | | | | | | | Fixed bug where cmd2 set sys.path[0] for a pyscript to its cwd instead of the script's directory. Fixed bug where sys.path was not being restored after a pyscript ran. Setting the following pyscript variables: __name__: __main__ __file__: script path (as typed) Removed do_py.run() function since it didn't handle arguments and offered no benefit over run_pyscript.
* Updating unit testsKevin Van Brunt2019-12-171-18/+9
|
* Fixed unit test on WindowsKevin Van Brunt2019-07-241-4/+4
|
* Updated unit testsKevin Van Brunt2019-07-241-4/+8
|
* Added unit testsKevin Van Brunt2019-07-241-2/+23
|
* Fixed issue where run_pyscript failed if the script's filename had a spaceKevin Van Brunt2019-07-231-4/+12
|
* Changed warning textKevin Van Brunt2019-07-211-1/+1
|
* Added unit testKevin Van Brunt2019-07-211-1/+17
|
* Remove load, _relative_load, pyscript aliases whichTodd Leonhardt2019-06-291-5/+0
| | | | | | These commands were renamed in the last release, but aliases were created along with warnings to help aid the transition. The command aliases are now being removed in this release.
* Fix unit test failures I introduced in last commitTodd Leonhardt2019-06-151-1/+1
|
* Added unit testsKevin Van Brunt2019-06-151-9/+4
|
* Updated unit testsKevin Van Brunt2019-06-151-2/+42
|
* Renamed fileKevin Van Brunt2019-06-151-0/+56