Commit f2b5d398 authored by Denis Laxalde's avatar Denis Laxalde
Browse files

[test] Make the expected value explicit in...

[test] Make the expected value explicit in CubicWebConfigurationWithLegacyCubesTC.test_available_cubes()

This will help with the next changeset, and avoiding computation in
tests is a good thing in general.
parent 1ec5b23b92e7
......@@ -209,12 +209,16 @@ class CubicWebConfigurationWithLegacyCubesTC(CubicWebConfigurationTC):
ApptestConfiguration.CUBES_PATH = []
def test_available_cubes(self):
expected_cubes = sorted(set([
# local cubes
'comment', 'email', 'file', 'forge', 'mycube',
# test dependencies
'card', 'file', 'localperms', 'tag',
expected_cubes = [
self.assertEqual(self.config.available_cubes(), expected_cubes)
def test_reorder_cubes_recommends(self):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment