mbedtls/scripts
Gilles Peskine 15997bd389 Use relative imports when importing other modules in the same directory
We were using absolute imports under the assumption that the /scripts
directory is in the path. This worked in normal use because every one of our
Python scripts either were in the /scripts directory, or added the /scripts
directory to the module search path in order to reference mbedtls_dev.
However, this broke things like
```
python3 -m unittest scripts/mbedtls_dev/psa_storage.py
```

Fix this by using relative imports.

Relative imports are only supposed to be used inside a package (Python
doesn't complain, but Pylint does). So make /scripts/mbedtls_dev a proper
package by creating __init__.py.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2022-09-17 10:38:58 +02:00
..
data_files Merge pull request #6142 from tom-cosgrove-arm/fix-comments-in-docs-and-comments 2022-07-29 12:59:05 +01:00
mbedtls_dev Use relative imports when importing other modules in the same directory 2022-09-17 10:38:58 +02:00
abi_check.py Document how to interpret negative reports 2022-06-20 18:51:44 +02:00
apidoc_full.sh
assemble_changelog.py Fix case of Mbed TLS in assemble_changelog.py 2022-07-11 11:39:21 +01:00
basic.requirements.txt Add requirement on Jinja to integrate drivers 2021-11-17 19:27:45 +01:00
bump_version.sh Update bump_version.sh to recognise Makefile changes 2022-08-12 11:02:03 +01:00
ci.requirements.txt Update references to old Github organisation 2022-03-31 14:43:16 +01:00
code_size_compare.py Redo of PR#5345. Fixed spelling and typographical errors found by CodeSpell. 2022-05-11 21:25:51 +01:00
config.pl
config.py Declare deprecated option for no_deprecated configs 2022-06-27 23:02:09 +02:00
driver.requirements.txt Add minimum requirements for Python 3.10 support 2022-05-13 16:52:28 +02:00
ecc-heap.sh Tune coverage of ecc-heap.sh 2022-01-06 12:20:48 +01:00
ecp_comb_table.py
find-mem-leak.cocci
footprint.sh
generate_driver_wrappers.py Fix additional misspellings found by codespell 2022-05-11 21:25:54 +01:00
generate_errors.pl
generate_features.pl
generate_psa_constants.py
generate_query_config.pl Fix stupid mistake (s/-d/-f/) and typo found by mpg review - thanks 2022-07-27 08:55:03 +01:00
generate_ssl_debug_helpers.py Fix formatting of generate_ssl_debug_helpers.py 2022-07-08 20:45:39 +01:00
generate_visualc_files.pl
maintainer.requirements.txt Add Cryptodome to maintainer requirements 2021-12-02 12:50:06 +01:00
make_generated_files.bat Add bignum test generation framework 2022-08-08 11:58:21 +01:00
massif_max.pl
memory.sh
min_requirements.py Add minimum requirements for Python 3.10 support 2022-05-13 16:52:28 +02:00
output_env.sh
rm-calloc-cast.cocci
tmp_ignore_makefiles.sh
windows_msbuild.bat