-
-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests for generated modules and fix bugs
- Loading branch information
Showing
21 changed files
with
412 additions
and
51 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 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
File renamed without changes.
File renamed without changes.
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,10 @@ | ||
from . import bpy_test | ||
from . import bgl_test | ||
from . import blf_test | ||
from . import mathutils_test | ||
from . import gpu_test | ||
from . import gpu_extras_test | ||
from . import freestyle_test | ||
from . import bpy_extras_test | ||
from . import aud_test | ||
from . import bmesh_test |
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,17 @@ | ||
import sys | ||
|
||
from . import common | ||
|
||
|
||
class AudTest(common.FakeBpyModuleTestBase): | ||
|
||
module_name = "aud" | ||
|
||
def setUp(self): | ||
import aud | ||
|
||
def tearDown(self): | ||
sys.modules.pop(self.module_name) | ||
|
||
def test_nothing(self): | ||
print("[Test] Nothing") |
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,17 @@ | ||
import sys | ||
|
||
from . import common | ||
|
||
|
||
class BglTest(common.FakeBpyModuleTestBase): | ||
|
||
module_name = "bgl" | ||
|
||
def setUp(self): | ||
import bgl | ||
|
||
def tearDown(self): | ||
sys.modules.pop(self.module_name) | ||
|
||
def test_nothing(self): | ||
print("[Test] Nothing") |
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,17 @@ | ||
import sys | ||
|
||
from . import common | ||
|
||
|
||
class BlfTest(common.FakeBpyModuleTestBase): | ||
|
||
module_name = "blf" | ||
|
||
def setUp(self): | ||
import blf | ||
|
||
def tearDown(self): | ||
sys.modules.pop(self.module_name) | ||
|
||
def test_nothing(self): | ||
print("[Test] Nothing") |
Oops, something went wrong.