Python module to make testing easier, it can generate random data like names and text, run commands, fetch urls, create files and directories, and more
MIT License
10
stars
0
forks
source link
it would be nice if create_module could take a dict of submodules #54
m = testdata.create_module({
"foo": ""
"foo.bar": "",
"che": ""
})
And it would create the module with whatever name, with submodules: .foo, .foo.bar, and .che and m would be a ModulePath instance so print(m) would print whatever name of the module.
I'd like to do something like:
And it would create the module with whatever name, with submodules:
.foo
,.foo.bar
, and.che
andm
would be aModulePath
instance soprint(m)
would print whatever name of the module.