Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
flask-admin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
flask-admin
Commits
9d6581bd
Commit
9d6581bd
authored
May 01, 2015
by
jnga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finish updating tests.
parent
4371d0e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
+20
-20
test_basic.py
flask_admin/tests/sqla/test_basic.py
+20
-20
No files found.
flask_admin/tests/sqla/test_basic.py
View file @
9d6581bd
...
...
@@ -436,10 +436,10 @@ def test_column_filters():
eq_
([(
f
[
'index'
],
f
[
'operation'
])
for
f
in
view
.
_filter_groups
[
u'Model1 / Test1'
]],
[
(
0
,
u'
equal
s'
),
(
1
,
u'not
equal
'
),
(
2
,
u'
contain
s'
),
(
3
,
u'not
contains
'
),
(
0
,
u'
contain
s'
),
(
1
,
u'not
contains
'
),
(
2
,
u'
equal
s'
),
(
3
,
u'not
equal
'
),
(
4
,
u'empty'
),
(
5
,
u'in list'
),
(
6
,
u'not in list'
),
...
...
@@ -447,10 +447,10 @@ def test_column_filters():
eq_
([(
f
[
'index'
],
f
[
'operation'
])
for
f
in
view
.
_filter_groups
[
u'Model1 / Test2'
]],
[
(
7
,
u'
equal
s'
),
(
8
,
u'not
equal
'
),
(
9
,
u'
contain
s'
),
(
10
,
u'not
contains
'
),
(
7
,
u'
contain
s'
),
(
8
,
u'not
contains
'
),
(
9
,
u'
equal
s'
),
(
10
,
u'not
equal
'
),
(
11
,
u'empty'
),
(
12
,
u'in list'
),
(
13
,
u'not in list'
),
...
...
@@ -458,10 +458,10 @@ def test_column_filters():
eq_
([(
f
[
'index'
],
f
[
'operation'
])
for
f
in
view
.
_filter_groups
[
u'Model1 / Test3'
]],
[
(
14
,
u'
equal
s'
),
(
15
,
u'not
equal
'
),
(
16
,
u'
contain
s'
),
(
17
,
u'not
contains
'
),
(
14
,
u'
contain
s'
),
(
15
,
u'not
contains
'
),
(
16
,
u'
equal
s'
),
(
17
,
u'not
equal
'
),
(
18
,
u'empty'
),
(
19
,
u'in list'
),
(
20
,
u'not in list'
),
...
...
@@ -469,10 +469,10 @@ def test_column_filters():
eq_
([(
f
[
'index'
],
f
[
'operation'
])
for
f
in
view
.
_filter_groups
[
u'Model1 / Test4'
]],
[
(
21
,
u'
equal
s'
),
(
22
,
u'not
equal
'
),
(
23
,
u'
contain
s'
),
(
24
,
u'not
contains
'
),
(
21
,
u'
contain
s'
),
(
22
,
u'not
contains
'
),
(
23
,
u'
equal
s'
),
(
24
,
u'not
equal
'
),
(
25
,
u'empty'
),
(
26
,
u'in list'
),
(
27
,
u'not in list'
),
...
...
@@ -538,10 +538,10 @@ def test_column_filters():
eq_
([(
f
[
'index'
],
f
[
'operation'
])
for
f
in
view
.
_filter_groups
[
u'Test1'
]],
[
(
0
,
'
equal
s'
),
(
1
,
'not
equal
'
),
(
2
,
'
contain
s'
),
(
3
,
'not
contains
'
),
(
0
,
'
contain
s'
),
(
1
,
'not
contains
'
),
(
2
,
'
equal
s'
),
(
3
,
'not
equal
'
),
(
4
,
'empty'
),
(
5
,
'in list'
),
(
6
,
'not in list'
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment