Skip to content

Commit

Permalink
Remove coverage of template renderers
Browse files Browse the repository at this point in the history
  • Loading branch information
carsongee committed Feb 12, 2015
1 parent bf12b76 commit 68e5926
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions edx_sga/sga.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,15 +493,15 @@ def _now():
return datetime.datetime.utcnow().replace(tzinfo=pytz.utc)


def load_resource(resource_path):
def load_resource(resource_path): # pragma: NO COVER
"""
Gets the content of a resource
"""
resource_content = pkg_resources.resource_string(__name__, resource_path)
return unicode(resource_content)


def render_template(template_path, context={}):
def render_template(template_path, context={}): # pragma: NO COVER
"""
Evaluate a template by resource path, applying the provided context
"""
Expand Down

0 comments on commit 68e5926

Please sign in to comment.