Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Chris
Pixelframe
Commits
dc2736b8
Commit
dc2736b8
authored
Dec 22, 2020
by
Christian Wander
Browse files
refactor tests
parent
9bdc9105
Changes
1
Hide whitespace changes
Inline
Side-by-side
test.py
→
pixelframe/blink_
test.py
View file @
dc2736b8
import
unittest
import
blink
class
TestBlink
(
unittest
.
TestCase
):
def
test_tuplify
(
self
):
...
...
@@ -29,7 +28,7 @@ class TestBlink(unittest.TestCase):
def
test_from_png
(
self
):
t
=
blink
.
Thing
(
file
=
'data/min.png'
)
t
=
blink
.
Thing
(
file
=
'
../
data/min.png'
)
expected
=
[[(
255
,
0
,
255
),
(
255
,
0
,
255
)],
[(
0
,
255
,
255
),
(
0
,
255
,
255
)]]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment