Commit 7642e097 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[2835] Update the higher-level test

We now allow having data sources with the same name if they are in
different classes. It would be significantly harder to implement and we
can identify the sources by the class+name tuple.
parent 9dd3b10a
......@@ -205,8 +205,9 @@ class DatasrcTest(unittest.TestCase):
"params": {},
"name": "Whatever"
}]})
# The same, but across different classes
self.reject({
# The same, but across different classes is allowed (we would
# identify the data source by class+name tuple)
self.accept({
"IN": [
{
"type": "MasterFiles",
......@@ -239,7 +240,7 @@ class DatasrcTest(unittest.TestCase):
"type": "MasterFiles",
"cache-enable": True,
"params": {},
"name": "IN/MasterFiles"
"name": "MasterFiles"
},
{
"type": "MasterFiles",
......
Supports Markdown
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