Skip to content

Commit

Permalink
[Tests][Added][Populate] Very simple
Browse files Browse the repository at this point in the history
  • Loading branch information
set-soft committed Jan 15, 2024
1 parent f3fb3ce commit 74f72ed
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Binary file added tests/reference/7_0_6/populating_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions tests/test_plot/test_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1821,3 +1821,12 @@ def test_definitions_1(test_dir):
for copy in range(2):
ctx.expect_out_file(f'{prj}-{la}_silk_{copy+1}.gbr')
ctx.clean_up()


@pytest.mark.skipif(not context.ki7(), reason="Just testing with 7")
def test_populate_1(test_dir):
prj = 'simple_2layer' # Fake
ctx = context.TestContext(test_dir, prj, 'populate', 'Populate')
ctx.run(no_board_file=True, extra=['-b', 'tests/data/ArduinoLearningKitStarter.kicad_pcb', 'Populate'])
ctx.compare_image('Populate/img/populating_4.png', 'populating_4.png')
ctx.clean_up()

0 comments on commit 74f72ed

Please sign in to comment.