You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that tests/application_settings/test_administrator.py fails if the language setting of the user configured in account.yaml is English.
I'm guessing that the cause is Administrator.create_application creates an application containing a field named Record_number in English setting.
The test assumes the application contains Japanese field code レコード番号, so it fails.
$ python3 -m unittest tests/application_settings/test_administrator.py
E....You have to delete the application from the application administration view.
======================================================================
ERROR: test_copy_application (tests.application_settings.test_administrator.TestGeneral)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/mnt/c/Users/uchan/workspace/github.com/uchan-nos/pykintone/tests/application_settings/test_administrator.py", line 58, in test_copy_application
created = admin.copy_application("copied application", app.app_id)
File "/mnt/c/Users/uchan/workspace/github.com/uchan-nos/pykintone/pykintone/application_settings/administrator.py", line 130, in copy_application
"Error is occurred when creating the the application. \n{0}".format("\n".join(failed_msg))
Exception: Error is occurred when creating the the application.
View Update:The field (code: レコード番号) not found.
----------------------------------------------------------------------
Ran 5 tests in 8.470s
FAILED (errors=1)
The text was updated successfully, but these errors were encountered:
I found that
tests/application_settings/test_administrator.py
fails if the language setting of the user configured in account.yaml is English.I'm guessing that the cause is
Administrator.create_application
creates an application containing a field namedRecord_number
in English setting.The test assumes the application contains Japanese field code
レコード番号
, so it fails.pykintone/pykintone/application_settings/administrator.py
Line 80 in ecca394
Test result:
The text was updated successfully, but these errors were encountered: