Uh oh!
There was an error while loading. Please reload this page.
Adds additional validators and "write_script" routine - #15
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| ]) | ||
| def test_write_script(test_project, test_project_script, input_filename: str) -> None: | ||
| """Test the script we write to regenerate the project is created and runs as expected.""" | ||
| path = tempfile.mkdtemp(dir='.') |
There was a problem hiding this comment.
I don't think the dir is necessary as this will create the test folder in my repo folder which will not be deleted if the test failed, without dir it should be created in the user's tmp directory. Also it will be better to setup shutil.rmtree in a teardown function
There was a problem hiding this comment.
Ok, now done. Although avoiding all of this was why I had a mock file in the first place.
No description provided.