Changeset - fd9b2d83d52b
[Not reviewed]
default
0 1 0
domruf - 9 years ago 2017-04-12 18:30:23
dominikruf@gmail.com
tests: add context fixture to fix test_ip_restriction_hg/git

test_ip_restriction_hg/git needs the test context fixture or otherwise
localization in form validation fails with:

TypeError: No object (name: context) has been registered for this thread
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
kallithea/tests/other/manual_test_vcs_operations.py
Show inline comments
 
@@ -36,6 +36,7 @@ import os
 
import re
 
import tempfile
 
import time
 
import pytest
 

	
 
from tempfile import _RandomNameSequence
 
from subprocess import Popen, PIPE
 
@@ -179,6 +180,7 @@ def _check_proper_git_push(stdout, stder
 
    assert 'master -> master' in stderr
 

	
 

	
 
@pytest.mark.usefixtures("test_context_fixture")
 
class TestVCSOperations(TestController):
 

	
 
    @classmethod
0 comments (0 inline, 0 general)