mirror of
https://github.com/yweber/lodel2.git
synced 2026-06-16 15:30:49 +02:00
ME test: changement de nom de fonction : new_uid
This commit is contained in:
parent
c95b37df12
commit
b7eb53c98a
2 changed files with 8 additions and 8 deletions
|
|
@ -249,15 +249,15 @@ class TestInit(ComponentTestCase):
|
|||
pass
|
||||
|
||||
#=======================#
|
||||
# EmComponent.newUid #
|
||||
# EmComponent.new_uid #
|
||||
#=======================#
|
||||
class TestUid(ComponentTestCase):
|
||||
|
||||
|
||||
def test_newuid(self):
|
||||
""" Test valid calls for newUid method """
|
||||
""" Test valid calls for new_uid method """
|
||||
for _ in range(10):
|
||||
nuid = EmTestComp.newUid()
|
||||
nuid = EmTestComp.new_uid()
|
||||
|
||||
conn = self.dber.connect()
|
||||
tuid = sqla.Table('uids', sqlutils.meta(self.dber))
|
||||
|
|
@ -272,9 +272,9 @@ class TestUid(ComponentTestCase):
|
|||
pass
|
||||
|
||||
def test_newuid_abstract(self):
|
||||
""" Test not valit call for newUid method """
|
||||
""" Test not valit call for new_uid method """
|
||||
with self.assertRaises(NotImplementedError):
|
||||
EmComponent.newUid()
|
||||
EmComponent.new_uid()
|
||||
pass
|
||||
|
||||
#=======================#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue