generated from linz/template-python-hello-world
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: skip files which are not tiff (#53)
* fix: skip files which are not tiff * fix: pylint * fix: temporary fix pylint * fix: log file is not tiff as trace level
- Loading branch information
1 parent
86b8c3a
commit 90396a6
Showing
5 changed files
with
31 additions
and
2 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
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
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,13 @@ | ||
from file_helper import is_tiff | ||
|
||
|
||
def test_is_tiff() -> None: | ||
file_a = "file.tiff" | ||
file_b = "file.tif" | ||
file_c = "file.TIFF" | ||
file_d = "file.jpg" | ||
|
||
assert is_tiff(file_a) is True | ||
assert is_tiff(file_b) is True | ||
assert is_tiff(file_c) is True | ||
assert is_tiff(file_d) is False |