We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e648cd4 commit ee011abCopy full SHA for ee011ab
test/test_workbook_model.py
@@ -1,13 +1,12 @@
1
-import unittest
+import pytest
2
3
import tableauserverclient as TSC
4
5
6
-class WorkbookModelTests(unittest.TestCase):
7
- def test_invalid_show_tabs(self):
8
- workbook = TSC.WorkbookItem("10")
9
- with self.assertRaises(ValueError):
10
- workbook.show_tabs = "Hello"
+def test_invalid_show_tabs():
+ workbook = TSC.WorkbookItem("10")
+ with pytest.raises(ValueError):
+ workbook.show_tabs = "Hello"
11
12
13
- workbook.show_tabs = None
+ workbook.show_tabs = None
0 commit comments