-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unit test for removal of "compositeTest" and code. Also, the removal …
…of all unit tests and files related to the composite feature, long marked disabled.
- Loading branch information
Showing
18 changed files
with
28 additions
and
285 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file removed
BIN
-640 KB
tests/materials/normal_metalness/tex/v10_cessna_wing_draped_NML_nm.png
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import inspect | ||
|
||
from typing import Tuple | ||
import os | ||
import sys | ||
|
||
import bpy | ||
from io_xplane2blender import xplane_config | ||
from io_xplane2blender.tests import * | ||
from io_xplane2blender.tests import test_creation_helpers | ||
|
||
__dirname__ = os.path.dirname(__file__) | ||
|
||
class TestRemovedCompositeTextures(XPlaneTestCase): | ||
def test_remove_composite_textures(self)->None: | ||
self.assertRaises(AttributeError, lambda: bpy.context.scene.xplane.compositeTextures) | ||
self.assertFalse("compositeTextures" in bpy.context.scene.xplane) | ||
|
||
runTestCases([TestRemovedCompositeTextures]) |