Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : master
---------------------------------------------------------------
commit eae495761a27a8fc8f259a5318ac7748614ac544
Author: Valentin Gologuzov <vgologuz(a)redhat.com>
Date: Thu Apr 9 20:05:21 2015 +0200
[copr] frontend tests fix
---------------------------------------------------------------
.../test_views/test_coprs_ns/test_coprs_builds.py | 3 +--
frontend/run_tests.sh | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/frontend/coprs_frontend/tests/test_views/test_coprs_ns/test_coprs_builds.py
b/frontend/coprs_frontend/tests/test_views/test_coprs_ns/test_coprs_builds.py
index d8cbf08..f14842f 100644
--- a/frontend/coprs_frontend/tests/test_views/test_coprs_ns/test_coprs_builds.py
+++ b/frontend/coprs_frontend/tests/test_views/test_coprs_ns/test_coprs_builds.py
@@ -136,8 +136,7 @@ class TestCoprDeleteBuild(CoprsTestCase):
.format(self.u1.name, self.c1.name, self.b1.id),
data={},
follow_redirects=True)
-
- assert "allowed to delete this build" in r.data
+ assert "not allowed to delete build" in r.data
b = (self.models.Build.query.filter(
self.models.Build.id == self.b1.id)
.first())
diff --git a/frontend/run_tests.sh b/frontend/run_tests.sh
index f6e06f0..839f1f6 100755
--- a/frontend/run_tests.sh
+++ b/frontend/run_tests.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-REDIS_PORT = 7777
+REDIS_PORT=7777
redis-server --port $REDIS_PORT &> _redis.log &