Skip to content

Commit

Permalink
Merge pull request #3898 from camptocamp/fix_tests
Browse files Browse the repository at this point in the history
Fix of the tests
  • Loading branch information
gberaudo authored Jul 5, 2018
2 parents 017d178 + 12f39f3 commit b9a3f15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions c2cgeoportal/tests/functional/test_dbreflection.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def test_get_class(self):

# the class should now be in the cache
self.assertTrue(
("public", "table_a", "") in
("public", "table_a", "", None) in
c2cgeoportal.lib.dbreflection._class_cache
)
_modelclass = get_class("table_a")
Expand Down Expand Up @@ -220,7 +220,7 @@ def test_get_class_exclude_properties(self):

# the class should now be in the cache
self.assertTrue(
("public", "table_d", "foo,bar") in
("public", "table_d", "foo,bar", None) in
c2cgeoportal.lib.dbreflection._class_cache
)

Expand Down

0 comments on commit b9a3f15

Please sign in to comment.