Commit graph

26 commits

Author SHA1 Message Date
Marcin Kuzminski
fe96e16646 code: update copyrights to 2020 2020-04-16 00:34:52 +02:00
Marcin Kuzminski
bd1a9c8201 docs: updated copyrights to 2019 2019-01-02 18:13:27 +01:00
Daniel Dourvaris
1db967ddb0 tests: fixed some pytest deprecated calls, and warnings. 2018-10-01 12:23:47 +02:00
Marcin Kuzminski
93fe457930 tests: use safer test id generator.
- this should handle pure boolean ids
2018-09-26 15:08:09 +02:00
Marcin Kuzminski
84d673d387 caches: use dogpile for sql_cache_short region. 2018-07-12 17:20:03 +02:00
Marcin Kuzminski
42c80fe075 shadow-repos: use numeric repo id for creation of shadow repos.
- Fixes a problem after rename or move into repository group.
2018-06-21 14:04:06 +02:00
Marcin Kuzminski
caa4a8a15d ldap: remove not used test reference for ldap library 2018-03-01 13:25:17 +01:00
Marcin Kuzminski
00b45c1fa7 release: update copyright year to 2018 2018-01-19 17:13:16 +01:00
Marcin Kuzminski
5f9ae2ae11 pylons: remove pylons as dependency
- dependencies: bumped:
 -setuptools-scm==1.15.6
 -celery==4.1.0
 -kombu==4.1.0
 -pytz==2017.3
 -Routes==2.4.1

Removed all pylons components. Refactored the code to use only pyramid
parts
2017-11-15 13:42:54 +01:00
Marcin Kuzminski
34f6df1fe1 tests: improve assert_flash_message call when called with no_ and empty flash is present. 2017-11-16 14:19:52 +01:00
Marcin Kuzminski
de3914dccb dependencies: dropped nose dependency. 2017-11-06 22:50:54 +01:00
Marcin Kuzminski
cfe326566d helpers: remove usage of pylons session. 2017-09-19 17:11:48 +02:00
Marcin Kuzminski
ff79205313 global-permissions: ported controller to pyramid view.
- fixed some other tests cases to rely on test routing
2017-07-20 15:04:36 +02:00
Marcin Kuzminski
f81ec24cc9 tests: no-newline generator should also replace \r 2017-07-17 23:21:01 +02:00
Marcin Kuzminski
73ffe35c5b tests: re-use assert_session_flash to also test for negative cases.
- removes code duplication
2017-07-17 14:16:14 +02:00
Marcin Kuzminski
71fee00277 home: moved home and repo group views into pyramid.
- fixed lots of tests related to those changes
- now main and subrepo group views are handled by pyramid.
2017-06-05 15:16:04 +02:00
Marcin Kuzminski
196813bfdd tests: added special no-newline test name generator 2017-04-27 21:37:53 +02:00
Marcin Kuzminski
e3aefb00a7 tests: removed deprecated assertEqual helper. 2017-03-08 11:33:35 +01:00
Marcin Kuzminski
3c07176dde core: remove global timezone hook.
- this is leaking into main application causing TZ problems
- fixes #5174
2017-01-23 16:55:50 +01:00
Marcin Kuzminski
17e7992166 tests: improve debugging of failed flash messages. 2017-01-12 23:46:43 +01:00
Marcin Kuzminski
fcc027c282 license: updated copyright year to 2017 2017-01-02 09:30:39 +01:00
Marcin Kuzminski
4a415909c6 tests: use custom test app for better debug of .mustcontain function.
- now output of html of .mustcontain we save as physical files.
2016-12-21 19:32:41 +01:00
Marcin Kuzminski
b17c7a340a tests: improve detection of empty flash messages during the tests 2016-11-07 15:44:47 +01:00
Johannes Bornhold
6a540aa6fa pytest: Fix the user login function.
- Pyramid doesn't expose the session as pylons does it as `response.session`
- Therefore we have to look it up in the environ.
2016-05-25 16:50:48 +02:00
Johannes Bornhold
9f6ff5bd02 pytest: Use hardcoded login URLs in tests.
- It's not so easy to use pyramids URL generation methods from within the tests.
- Therfore we hardcode the URLs.
2016-05-25 16:46:10 +02:00
Marcin Kuzminski
9a0d8c0b77 project: added all source files and assets 2016-05-24 15:56:53 +02:00