doc + facke test

This commit is contained in:
Bartosz Kościów 2017-04-25 19:08:48 +02:00
parent 95f2b8c7c9
commit 8089e60838
3 changed files with 19 additions and 13 deletions

View File

@ -0,0 +1,6 @@
from nose.tools import assert_equal
class DummyTest(object):
def test_init(self):
assert_equal(1, 1)

View File

@ -99,17 +99,17 @@ Custom pins:
Drawing functions
===
draw_pixel
draw_pixel(x, y)
draw_line
draw_line(from_x, from_y, to_x, to_y)
draw_rect
draw_rect(x1, y1, x2, y2)
draw_circle
draw_circle(x1, y1, radius)
draw_arc
draw_arc(x1, y1, radius, from_angle, to_angle
fill_rect
fill_rect(x1, y1, x2, y2)
Colours

View File

@ -10,7 +10,7 @@ deps=
flake8
pylint
whitelist_externals = /bin/bash
commands= nosetests --with-xunit --xunit-file=junit-{envname}.xml charlcd/tests
commands= nosetests --with-xunit --xunit-file=junit-{envname}.xml gfxlcd/tests
rm flake8-{envname}.log
/bin/bash -c "flake8 --output-file=flake8-{envname}.log gfxlcd || :"
/bin/bash -c "pylint gfxlcd > pylint-{envname}.log || :"