Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyStegeman committed Dec 4, 2024
1 parent 5660c29 commit 64d7791
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/reportengine/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"""
from __future__ import generator_stop

import os.path as osp
import os
import logging
import subprocess
import shutil
Expand Down Expand Up @@ -61,7 +61,7 @@
def _process_template_text(source, *, filename=None):
if filename:
#PY36
log.debug("Processing template %s" % osp.abspath(str(filename)))
log.debug("Processing template %s" % os.path.abspath(str(filename)))

root = {}
d = root
Expand Down Expand Up @@ -109,7 +109,7 @@ class JinjaEnv(jinja2.Environment):

def preprocess(self, source, name=None, filename=None):
if filename:
log.debug("Processing template %s" % osp.abspath(filename))
log.debug("Processing template %s" % os.path.abspath(filename))

root = {}
d = root
Expand Down
3 changes: 1 addition & 2 deletions src/reportengine/tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@
@author: Zahari Kassabov
"""
import pytest
import ruamel.yaml

from reportengine import app
from reportengine.utils import yaml_safe

from reportengine.tests.utils import tmp

runcard =\
"""
Expand Down

0 comments on commit 64d7791

Please sign in to comment.