-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add new test script for columnProxy and related objects, to be completed
- Loading branch information
Showing
5 changed files
with
39 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ | |
|
||
import sew | ||
import sew.plugins | ||
import sew.blobInterpreter | ||
import sew.blobInterpreter |
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,14 @@ | ||
# Load all imports using helper | ||
from ._helpers import * | ||
|
||
import unittest | ||
|
||
#%% | ||
class TestColumnProxy(unittest.TestCase): | ||
def test_columnProxy_properties(self): | ||
# Create a simple one | ||
proxy = sew.ColumnProxy("col1", "int", "mytbl") | ||
self.assertEqual(proxy.name, "col1") | ||
self.assertEqual(proxy.typehint, "int") | ||
self.assertEqual(proxy.tablename, "mytbl") | ||
|