<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'># HG changeset patch<br># User K. Arvanitis <<a href="mailto:kosta@alumni.uvic.ca">kosta@alumni.uvic.ca</a>><br># Date 1422516211 28800<br># Wed Jan 28 23:23:31 2015 -0800<br># Node ID 611fe67f4a942610bb63aa66360d25baa3d4b64b<br># Parent b25606106a9c0cd78f3cc5f602475da64cde081d<br>[PATCH] Add Support for Settings UnitTest<BR>Adding test coverage of the radio settings API.<BR>Currently, all but one image passes the test (UV3R).<BR>Feature #2235<BR>diff -r b25606106a9c -r 611fe67f4a94 tests/run_tests<br>--- a/tests/run_tests Wed Jan 21 23:30:19 2015 -0800<br>+++ b/tests/run_tests Wed Jan 28 23:23:31 2015 -0800<br>@@ -520,8 +520,30 @@<br> self.do_badname(rf)<br> <br> return []<br>+<br> TESTS["Edges"] = TestCaseEdges<br> <br>+<br>+class TestCaseSettings(TestCase):<br>+ def __str__(self):<br>+ return "Settings"<br>+<br>+ def do_get_settings(self, rf):<br>+ self._wrapper.do("get_settings")<br>+<br>+ def run(self):<br>+ rf = self._wrapper.do("get_features")<br>+<br>+ if not rf.has_settings:<br>+ raise TestSkippedError("Settings not supported")<br>+<br>+ self.do_get_settings(rf)<br>+<br>+ return []<br>+<br>+TESTS["Settings"] = TestCaseSettings<br>+<br>+<br> class TestCaseBanks(TestCase):<br> def __str__(self):<br> return "Banks"<br> <BR>                                            </div></body>
</html>