diff --git a/tests/core/test_templating.py b/tests/core/test_templating.py
index <HASH>..<HASH> 100644
--- a/tests/core/test_templating.py
+++ b/tests/core/test_templating.py
@@ -4,6 +4,8 @@ import shutil
 import tempfile
 import unittest
 import jinja2
+import pwd
+import grp
 
 import mock
 from charmhelpers.core import templating
@@ -64,7 +66,10 @@ class TestTemplating(unittest.TestCase):
         fn1 = os.path.join(tmpdir, 'test.conf')
         try:
             context = {'nginx_port': 80}
-            templating.render('test.conf', fn1, context, templates_dir=TEMPLATES_DIR)
+            templating.render('test.conf', fn1, context,
+                              owner=pwd.getpwuid(os.getuid()).pw_name,
+                              group=grp.getgrgid(os.getgid()).gr_name,
+                              templates_dir=TEMPLATES_DIR)
             with open(fn1) as f:
                 contents = f.read()
[niedbalski, r=freyes] Fixes regression on tests introduced LP Bug: #<I>.