[Asterisk-code-review] test case.py: Conflict dependencies not being processed (testsuite[master])

Kevin Harwell asteriskteam at digium.com
Mon Jan 8 17:40:27 CST 2018


Kevin Harwell has uploaded this change for review. ( https://gerrit.asterisk.org/7874


Change subject: test_case.py: Conflict dependencies not being processed
......................................................................

test_case.py: Conflict dependencies not being processed

When the testsuite installs config files it checks the 'conflicts.txt' file and
makes sure any conflicting modules do not load together. This feature was no
longer being used due to a wrongly passed in parameter to the install_configs
method. Instead of passing in the dependency list it passed in the config
object itself.

This patch makes it so the dependencies are once again passed into the method.

Change-Id: Icdac9a9b91d6c2a682f9e2124296fdcfbe3b96a0
---
M lib/python/asterisk/test_case.py
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/74/7874/1

diff --git a/lib/python/asterisk/test_case.py b/lib/python/asterisk/test_case.py
index ec5e09d..1ef360e 100644
--- a/lib/python/asterisk/test_case.py
+++ b/lib/python/asterisk/test_case.py
@@ -301,7 +301,7 @@
                 # Copy test specific config files
                 self.ast[i].install_configs("%s/configs/ast%d" %
                                             (self.test_name, local_num),
-                                            self.test_config)
+                                            self.test_config.get_deps())
 
     def create_ami_factory(self, count=1, username="user", secret="mysecret",
                            port=5038):

-- 
To view, visit https://gerrit.asterisk.org/7874
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icdac9a9b91d6c2a682f9e2124296fdcfbe3b96a0
Gerrit-Change-Number: 7874
Gerrit-PatchSet: 1
Gerrit-Owner: Kevin Harwell <kharwell at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180108/07e61a55/attachment.html>


More information about the asterisk-code-review mailing list