diff --git a/clearpath_generator_common/test/test_generator_bash.py b/clearpath_generator_common/test/test_generator_bash.py index 5dbc994e..e4e6096f 100644 --- a/clearpath_generator_common/test/test_generator_bash.py +++ b/clearpath_generator_common/test/test_generator_bash.py @@ -57,6 +57,8 @@ def test_samples(self): print(f'Unsupported accessory: {e}. Skipping') except UnsupportedPlatformException as e: print(f'Unsupported platform: {e}. Skipping') + except FileNotFoundError as e: + print(f'File not found: {e}. Skipping') except Exception as e: errors.append("Sample '%s' failed to load: '%s'" % ( sample, diff --git a/clearpath_generator_common/test/test_generator_description.py b/clearpath_generator_common/test/test_generator_description.py index 2802bfb9..dcc7d342 100644 --- a/clearpath_generator_common/test/test_generator_description.py +++ b/clearpath_generator_common/test/test_generator_description.py @@ -62,6 +62,9 @@ def test_samples(self): except UnsupportedPlatformException as e: print(f'Unsupported platform. {e}. Skipping') continue + except FileNotFoundError as e: + print(f'File not found: {e}. Skipping') + continue except Exception as e: errors.append("Sample '%s' failed to load: '%s'" % ( sample, diff --git a/clearpath_generator_common/test/test_generator_discovery_server.py b/clearpath_generator_common/test/test_generator_discovery_server.py index 2a849e59..f61592ac 100644 --- a/clearpath_generator_common/test/test_generator_discovery_server.py +++ b/clearpath_generator_common/test/test_generator_discovery_server.py @@ -57,6 +57,8 @@ def test_samples(self): print(f'Unsupported accessory. {e}') except UnsupportedPlatformException as e: print(f'Unsupported platform. {e}') + except FileNotFoundError as e: + print(f'File not found: {e}. Skipping') except Exception as e: errors.append("Sample '%s' failed to load: '%s'" % ( sample, diff --git a/clearpath_generator_common/test/test_generator_vcan.py b/clearpath_generator_common/test/test_generator_vcan.py index 96df1d16..cf177929 100644 --- a/clearpath_generator_common/test/test_generator_vcan.py +++ b/clearpath_generator_common/test/test_generator_vcan.py @@ -55,6 +55,8 @@ def test_samples(self): print(f'Unsupported accessory: {e}. Skipping') except UnsupportedPlatformException as e: print(f'Unsupported platform: {e}. Skipping') + except FileNotFoundError as e: + print(f'File not found: {e}. Skipping') except Exception as e: errors.append("Sample '%s' failed to load: '%s'" % ( sample,