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
3be155bd
Commit
3be155bd
authored
Aug 01, 2013
by
Adam Palay
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix tests, remove zh_CN from config until we have support
parent
ac1ac2d9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
conf/locale/config
+1
-1
i18n/tests/test_generate.py
+1
-1
No files found.
conf/locale/config
View file @
3be155bd
{
"locales" : ["en"
, "zh_CN"
],
"locales" : ["en"],
"dummy-locale" : "fr"
}
i18n/tests/test_generate.py
View file @
3be155bd
...
...
@@ -46,7 +46,7 @@ class TestGenerate(TestCase):
path
=
os
.
path
.
join
(
CONFIGURATION
.
get_messages_dir
(
locale
),
mofile
)
exists
=
os
.
path
.
exists
(
path
)
self
.
assertTrue
(
exists
,
msg
=
'Missing file in locale
%
s:
%
s'
%
(
locale
,
mofile
))
self
.
assertTrue
(
datetime
.
fromtimestamp
(
os
.
path
.
getmtime
(
path
))
>=
self
.
start_time
,
self
.
assertTrue
(
datetime
.
fromtimestamp
(
os
.
path
.
getmtime
(
path
)
,
UTC
)
>=
self
.
start_time
,
msg
=
'File not recently modified:
%
s'
%
path
)
self
.
assert_merge_headers
(
locale
)
...
...
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