Rename guess_mbedtls_root to guess_project_root
Rename for consistency. Also, replace all calls to
this function with correct name.
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
diff --git a/tests/scripts/audit-validity-dates.py b/tests/scripts/audit-validity-dates.py
index 96b705a..ab09b4a 100755
--- a/tests/scripts/audit-validity-dates.py
+++ b/tests/scripts/audit-validity-dates.py
@@ -265,7 +265,7 @@
@staticmethod
def find_test_dir():
"""Get the relative path for the Mbed TLS test directory."""
- return os.path.relpath(build_tree.guess_mbedtls_root() + '/tests')
+ return os.path.relpath(build_tree.guess_project_root() + '/tests')
class TestDataAuditor(Auditor):