summaryrefslogtreecommitdiff
path: root/gerber/tests/test_excellon.py
diff options
context:
space:
mode:
authorHamilton Kibbe <hamilton.kibbe@gmail.com>2015-02-15 03:29:47 -0500
committerHamilton Kibbe <hamilton.kibbe@gmail.com>2015-02-15 03:29:47 -0500
commitbfe14841604b6be403e7123e8b6667b1f0aff6f6 (patch)
treef33b8808412932c8606e63c9a11dcd4e60b919a9 /gerber/tests/test_excellon.py
parent5cf1fa74b42eb8feaab23078bef6f31f6d647c33 (diff)
downloadgerbonara-bfe14841604b6be403e7123e8b6667b1f0aff6f6.tar.gz
gerbonara-bfe14841604b6be403e7123e8b6667b1f0aff6f6.tar.bz2
gerbonara-bfe14841604b6be403e7123e8b6667b1f0aff6f6.zip
Add cairo example code, and use example-generated image in readme
Diffstat (limited to 'gerber/tests/test_excellon.py')
-rw-r--r--gerber/tests/test_excellon.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gerber/tests/test_excellon.py b/gerber/tests/test_excellon.py
index de45b44..ea067b5 100644
--- a/gerber/tests/test_excellon.py
+++ b/gerber/tests/test_excellon.py
@@ -4,6 +4,7 @@
# Author: Hamilton Kibbe <ham@hamiltonkib.be>
from ..cam import FileSettings
from ..excellon import read, detect_excellon_format, ExcellonFile, ExcellonParser
+from ..excellon_statements import ExcellonTool
from tests import *
import os
@@ -120,6 +121,7 @@ def test_parse_absolute_mode():
def test_parse_repeat_hole():
p = ExcellonParser(FileSettings())
+ p.active_tool = ExcellonTool(FileSettings(), number=8)
p._parse('R03X1.5Y1.5')
assert_equal(p.statements[0].count, 3)