summaryrefslogtreecommitdiff
path: root/gr-utils/python/modtool/templates/templates.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-utils/python/modtool/templates/templates.py')
-rw-r--r--gr-utils/python/modtool/templates/templates.py13
1 files changed, 9 insertions, 4 deletions
diff --git a/gr-utils/python/modtool/templates/templates.py b/gr-utils/python/modtool/templates/templates.py
index e6c1197dd1..f811dc610a 100644
--- a/gr-utils/python/modtool/templates/templates.py
+++ b/gr-utils/python/modtool/templates/templates.py
@@ -453,11 +453,16 @@ ${str_to_fancyc_comment(license)}
#include <gnuradio/attributes.h>
#include <boost/test/unit_test.hpp>
-BOOST_AUTO_TEST_CASE(test_${blockname}_t1)
-{
- // Put test here
-}
+namespace gr {
+ namespace ${modname} {
+
+ BOOST_AUTO_TEST_CASE(test_${blockname}_t1)
+ {
+ // Put test here
+ }
+ } /* namespace ${modname} */
+} /* namespace gr */
'''
# C++ file for QA