Skip to content

Commit 640d10b

Browse files
committed
fix test for empty cookie value
1 parent 0d6c4a1 commit 640d10b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/pdfkit-tests.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def test_empty_cookie_value(self):
111111
roptions = {
112112
'--page-size': 'Letter',
113113
'cookies': [
114-
('test_cookie1',''),
114+
('test_cookie1','""'),
115115
('test_cookie2','cookie_value2'),
116116
]
117117
}
@@ -120,6 +120,7 @@ def test_empty_cookie_value(self):
120120

121121
test_command = r.command('test')
122122

123+
idx1 = test_command.index('--page-size') # Raise exception in case of not found
123124
self.assertTrue(test_command[idx1 + 1] == 'Letter')
124125

125126
def test_custom_configuration(self):

0 commit comments

Comments
 (0)