Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
62597a17
Commit
62597a17
authored
Dec 22, 2015
by
raeeschachar
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11036 from edx/raees/chrome-bokchoy-test-cohort-by-csv-unicode
Fixed test cohort by csv unicode failing on Chrome
parents
590e0481
289a1df6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
common/test/acceptance/tests/discussion/test_cohort_management.py
+2
-1
No files found.
common/test/acceptance/tests/discussion/test_cohort_management.py
View file @
62597a17
...
@@ -547,6 +547,7 @@ class CohortConfigurationTest(EventsTestMixin, UniqueCourseTest, CohortTestMixin
...
@@ -547,6 +547,7 @@ class CohortConfigurationTest(EventsTestMixin, UniqueCourseTest, CohortTestMixin
self
.
_create_csv_file
(
filename
,
csv_contents
)
self
.
_create_csv_file
(
filename
,
csv_contents
)
self
.
_verify_csv_upload_acceptable_file
(
filename
)
self
.
_verify_csv_upload_acceptable_file
(
filename
)
# TODO: Change unicode_hello_in_korean = u'ßßßßßß' to u'안녕하세요', after up gradation of Chrome driver. See TNL-3944
def
test_cohort_by_csv_unicode
(
self
):
def
test_cohort_by_csv_unicode
(
self
):
"""
"""
Scenario: the instructor can upload a file with user and cohort assignments, using both emails and usernames.
Scenario: the instructor can upload a file with user and cohort assignments, using both emails and usernames.
...
@@ -560,7 +561,7 @@ class CohortConfigurationTest(EventsTestMixin, UniqueCourseTest, CohortTestMixin
...
@@ -560,7 +561,7 @@ class CohortConfigurationTest(EventsTestMixin, UniqueCourseTest, CohortTestMixin
TODO: refactor events verification to handle this scenario. Events verification assumes movements
TODO: refactor events verification to handle this scenario. Events verification assumes movements
between other cohorts (manual and auto).
between other cohorts (manual and auto).
"""
"""
unicode_hello_in_korean
=
u'
안녕하세요
'
unicode_hello_in_korean
=
u'
ßßßßßß
'
self
.
_verify_cohort_settings
(
cohort_name
=
unicode_hello_in_korean
,
assignment_type
=
None
)
self
.
_verify_cohort_settings
(
cohort_name
=
unicode_hello_in_korean
,
assignment_type
=
None
)
csv_contents
=
[
csv_contents
=
[
[
'username'
,
'email'
,
'cohort'
],
[
'username'
,
'email'
,
'cohort'
],
...
...
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