Jaymon / testdata

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

client.Command.environ can't take integer values #37

Closed Jaymon closed 5 years ago

Jaymon commented 6 years ago
c = Command()
c.environ["FOO"] = 0

resulted in:

TypeError: execve() arg 3 contains a non-string value

I know environment variables need to be strings but it feels like that can be checked before it is passed to subprocess and things like ints can be cast to string