Skip to content

Commit

Permalink
Fixed flake warnings- (Task #5)
Browse files Browse the repository at this point in the history
- Fixed due to debug output on travis ci

---
Task #5: Implement Import Functionality
  • Loading branch information
PhilMFischer committed Aug 8, 2019
1 parent ea6cb50 commit ee2ae64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions TestVirtualSatelliteApp.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-later
#

from test.test_json_importer import TestJsonImporter #NOQA
from test.test_json_part import TestJsonPart #NOQA
from test.test_json_importer import TestJsonImporter # NOQA
from test.test_json_part import TestJsonPart # NOQA
3 changes: 1 addition & 2 deletions test/test_json_importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def test_create_part(self):
json_importer.create_or_update_part(json_object)

# Check the file got created
test_file_name = TEST_WORKING_DIRECTORY + "Beam_6201a731_d703_43f8_ab37_6a0581dfe022" + FREECAD_FILE_EXTENSION;
test_file_name = TEST_WORKING_DIRECTORY + "Beam_6201a731_d703_43f8_ab37_6a0581dfe022" + FREECAD_FILE_EXTENSION
self.assertTrue(os.path.isfile(test_file_name), "File exists on drive")

App.open(test_file_name)
Expand All @@ -76,4 +76,3 @@ def test_create_part(self):
self.assertEquals(str(App.ActiveDocument.getObject("Box").Length), "40 mm", "Shape has correct size")
self.assertEquals(str(App.ActiveDocument.getObject("Box").Height), "300 mm", "Shape has correct size")
self.assertEquals(str(App.ActiveDocument.getObject("Box").Width), "10 mm", "Shape has correct size")

0 comments on commit ee2ae64

Please sign in to comment.