Skip to content

Commit d5596c8

Browse files
committed
Added test for print_recommendations running correctly
1 parent ed9ffe1 commit d5596c8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/test_recommendations.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
check_target_api,
1010
read_ndk_version,
1111
check_python_version,
12+
print_recommendations,
1213
MAX_NDK_VERSION,
1314
RECOMMENDED_NDK_VERSION,
1415
RECOMMENDED_TARGET_API,
@@ -237,3 +238,12 @@ def test_check_python_version(self):
237238
fake_version_info.major = MIN_PYTHON_MAJOR_VERSION
238239
fake_version_info.minor = MIN_PYTHON_MINOR_VERSION
239240
check_python_version()
241+
242+
def test_print_recommendations(self):
243+
"""
244+
Simple test that the function actually runs.
245+
"""
246+
# The main failure mode is if the function tries to print a variable
247+
# that doesn't actually exist, so simply running to check all the
248+
# prints work is the most important test.
249+
print_recommendations()

0 commit comments

Comments
 (0)