Draft: Minor cosmetic changes to test files
This commit is contained in:
@@ -22,21 +22,23 @@
|
||||
# * USA *
|
||||
# * *
|
||||
# ***************************************************************************
|
||||
|
||||
"""Unit tests for the Draft Workbench, OCA import and export tests."""
|
||||
|
||||
## @package test_oca
|
||||
# \ingroup drafttests
|
||||
# \brief Unit tests for the Draft Workbench, OCA import and export tests.
|
||||
|
||||
## \addtogroup drafttests
|
||||
# @{
|
||||
|
||||
import os
|
||||
|
||||
import FreeCAD as App
|
||||
import Draft
|
||||
import drafttests.auxiliary as aux
|
||||
|
||||
from draftutils.messages import _msg
|
||||
from drafttests import auxiliary as aux
|
||||
from drafttests import test_base
|
||||
from draftutils.messages import _msg
|
||||
|
||||
|
||||
class DraftOCA(test_base.DraftTestCaseDoc):
|
||||
@@ -48,7 +50,7 @@ class DraftOCA(test_base.DraftTestCaseDoc):
|
||||
_msg(" Test '{}'".format(operation))
|
||||
_msg(" This test requires an OCA file to read.")
|
||||
|
||||
file = 'Mod/Draft/drafttest/test.oca'
|
||||
file = "Mod/Draft/drafttest/test.oca"
|
||||
in_file = os.path.join(App.getResourceDir(), file)
|
||||
_msg(" file={}".format(in_file))
|
||||
_msg(" exists={}".format(os.path.exists(in_file)))
|
||||
@@ -62,7 +64,7 @@ class DraftOCA(test_base.DraftTestCaseDoc):
|
||||
operation = "importOCA.export"
|
||||
_msg(" Test '{}'".format(operation))
|
||||
|
||||
file = 'Mod/Draft/drafttest/out_test.oca'
|
||||
file = "Mod/Draft/drafttest/out_test.oca"
|
||||
out_file = os.path.join(App.getResourceDir(), file)
|
||||
_msg(" file={}".format(out_file))
|
||||
_msg(" exists={}".format(os.path.exists(out_file)))
|
||||
|
||||
Reference in New Issue
Block a user