File tree Expand file tree Collapse file tree 8 files changed +11
-10
lines changed
Expand file tree Collapse file tree 8 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 55 },
66 "type" : " TIFF" ,
77 "name" : " test.txt" ,
8- "local_path" : " /Users/bgrande/Repos/py-dcqc/ tests/data/test.txt"
8+ "local_path" : " tests/data/test.txt"
99}
Original file line number Diff line number Diff line change 44
55import os
66import sys
7+ from pathlib import Path
78from typing import Sequence
89
910from dcqc .file import File
1617# Shared values
1718data_dir = sys .path [0 ]
1819data_dir = os .path .relpath (data_dir )
19- report = JsonReport ()
20+ report = JsonReport (paths_relative_to = Path . cwd () )
2021
2122
2223# Shared functions
Original file line number Diff line number Diff line change 1111 },
1212 "type" : " TIFF" ,
1313 "name" : " test.txt" ,
14- "local_path" : " /Users/bgrande/Repos/py-dcqc/ tests/data/test.txt"
14+ "local_path" : " tests/data/test.txt"
1515 }
1616 ]
1717 },
Original file line number Diff line number Diff line change 99 },
1010 "type" : " TIFF" ,
1111 "name" : " test.txt" ,
12- "local_path" : " /Users/bgrande/Repos/py-dcqc/ tests/data/test.txt"
12+ "local_path" : " tests/data/test.txt"
1313 }
1414 ]
1515}
Original file line number Diff line number Diff line change 1414 },
1515 "type" : " TIFF" ,
1616 "name" : " test.txt" ,
17- "local_path" : " /Users/bgrande/Repos/py-dcqc/ tests/data/test.txt"
17+ "local_path" : " tests/data/test.txt"
1818 }
1919 ]
2020 }
Original file line number Diff line number Diff line change 1414 },
1515 "type" : " TIFF" ,
1616 "name" : " test.txt" ,
17- "local_path" : " /Users/bgrande/Repos/py-dcqc/ tests/data/test.txt"
17+ "local_path" : " tests/data/test.txt"
1818 }
1919 ]
2020 }
Original file line number Diff line number Diff line change 1414 },
1515 "type" : " TIFF" ,
1616 "name" : " test.txt" ,
17- "local_path" : " /Users/bgrande/Repos/py-dcqc/ tests/data/test.txt"
17+ "local_path" : " tests/data/test.txt"
1818 }
1919 ]
2020 }
Original file line number Diff line number Diff line change 1515 },
1616 "type" : " TIFF" ,
1717 "name" : " test.txt" ,
18- "local_path" : " /Users/bgrande/Repos/py-dcqc/ tests/data/test.txt"
18+ "local_path" : " tests/data/test.txt"
1919 }
2020 ]
2121 }
3636 },
3737 "type" : " TIFF" ,
3838 "name" : " test.txt" ,
39- "local_path" : " /Users/bgrande/Repos/py-dcqc/ tests/data/test.txt"
39+ "local_path" : " tests/data/test.txt"
4040 }
4141 ]
4242 }
5757 },
5858 "type" : " TIFF" ,
5959 "name" : " test.txt" ,
60- "local_path" : " /Users/bgrande/Repos/py-dcqc/ tests/data/test.txt"
60+ "local_path" : " tests/data/test.txt"
6161 }
6262 ]
6363 }
You can’t perform that action at this time.
0 commit comments