From 49390ea2aa5dd37f1be1b7fcf6b0a3619e571f87 Mon Sep 17 00:00:00 2001 From: Andrey Vlasovskikh Date: Sat, 28 Apr 2012 18:26:14 +0400 Subject: [PATCH] Fixed test username for all Python move tests --- .../com/jetbrains/python/refactoring/PyMoveTest.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/python/testSrc/com/jetbrains/python/refactoring/PyMoveTest.java b/python/testSrc/com/jetbrains/python/refactoring/PyMoveTest.java index 8f7b17c830fa..3b613ae6cc5c 100644 --- a/python/testSrc/com/jetbrains/python/refactoring/PyMoveTest.java +++ b/python/testSrc/com/jetbrains/python/refactoring/PyMoveTest.java @@ -24,6 +24,12 @@ import java.util.Collection; * @author vlan */ public class PyMoveTest extends PyTestCase { + @Override + protected void setUp() throws Exception { + super.setUp(); + SystemProperties.setTestUserName("user1"); + } + public void testFunction() { doMoveSymbolTest("f", "b.py"); } @@ -45,7 +51,6 @@ public class PyMoveTest extends PyTestCase { // PY-4074 public void testNewModule() { - SystemProperties.setTestUserName("user1"); doMoveSymbolTest("f", "b.py"); }