circuitpython/tests/circuitpython-manual
Jeff Epler 52bca95208
Refactor dotenv module so that it can be tested on host
.. it needs to operate on a FILE* rather than FIL depending on
the build.

Note that this is comparing output to expected, not to cpython dotenv
package. Because run-tests.py starts the CPython interpreter with the
'-S' (skip site initialization) flag, pip-installed packages are
not available for import inside a test file. Instead, the exp
file is generated manually:
```
circuitpython/tests$ python3 circuitpython/dotenv_test.py > circuitpython/dotenv_test.py.exp
```

Unfortunately, the test fails on test e15:
```diff
FAILURE /home/jepler/src/circuitpython/tests/results/circuitpython_dotenv_test.py
--- /home/jepler/src/circuitpython/tests/results/circuitpython_dotenv_test.py.exp	2022-10-04 09:48:16.307703128 -0500
+++ /home/jepler/src/circuitpython/tests/results/circuitpython_dotenv_test.py.out	2022-10-04 09:48:16.307703128 -0500
@@ -14,7 +14,7 @@
 line
 e13 e13value
 e14 None
-e15 e15value
+e15 None
 e16 #
 e17 def
 e18 #has a hash
```
2022-10-04 09:51:27 -05:00
..
alarm Add alarm tests 2021-06-20 18:09:18 -04:00
audiobusio update to py tests and scripts due to black 22.1.0 2022-01-29 17:14:01 -05:00
audiocore [synthio] add a simple MidiTrack implementation 2021-03-26 16:38:10 -04:00
audiopwmio update to py tests and scripts due to black 22.1.0 2022-01-29 17:14:01 -05:00
bitmaptools tests: move bitmaptools files to their own directory 2021-11-24 09:53:19 -06:00
busio run code formatting script 2021-03-15 19:27:36 +05:30
socketpool run code formatting script 2021-03-15 19:27:36 +05:30
usb Tweaks from review 2022-03-11 10:51:50 -08:00