forked from ros/rosdistro
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add test script for new rosdistro files, prevent sort_yaml to run on …
…new files
- Loading branch information
1 parent
0e89524
commit 5223ef1
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import os | ||
|
||
from rosdistro.verify import verify_files_identical | ||
|
||
FILES_DIR = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)), '..')) | ||
|
||
|
||
def test_verify_files_identical(): | ||
index_url = 'file:https://' + FILES_DIR + '/index.yaml' | ||
assert verify_files_identical(index_url) |