-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ExcelSheet): added a "visible" attribute (#285)
closes #281 Signed-off-by: Luka Peschke <[email protected]>
- Loading branch information
1 parent
7260b11
commit 21ea958
Showing
6 changed files
with
104 additions
and
35 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
Binary file not shown.
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 @@ | ||
import fastexcel | ||
|
||
from utils import path_for_fixture | ||
|
||
|
||
def test_sheet_visibilities() -> None: | ||
file_path = path_for_fixture("fixture-sheets-different-visibilities.xlsx") | ||
|
||
reader = fastexcel.read_excel(file_path) | ||
|
||
assert reader.load_sheet(0).visible == "visible" | ||
assert reader.load_sheet(1).visible == "hidden" | ||
assert reader.load_sheet(2).visible == "veryhidden" |
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