With Tethys 2.0, I've run into an issue when trying to run tests. Prior to 2.0, to be able to run tests, the django database user had to be set to "tethys_super" to give the proper permissions (see https://github.com/tethysplatform/tethys/wiki/Testing-Requirements). With 2.0, if I change the user to "tethys_super" I get the error that the role "tethys_super" does not exist. Is there a different super user that I can use for testing?
--
You received this message because you are subscribed to the Google Groups "Tethys Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tethysplatform+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tethysplatform/67295f3d-c3e2-42cf-96a3-a7090ba67b80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
There are now two database servers that get set up with the installation. The one that Django uses doesn't have a super user. We should add that into the install script. In the meantime you can add a user manually. Look at the install_tethys.sh script about lines 262 and 263 as a reference for how to do that. Some adaptation will be necessary to make the user a super user.
There have been some refactoring of the database with settings.I recommend going through the 2.0 Tutorial.
On Wed, Jul 19, 2017 at 3:42 PM, shawncrawley <shawnc...@gmail.com> wrote:
With Tethys 2.0, I've run into an issue when trying to run tests. Prior to 2.0, to be able to run tests, the django database user had to be set to "tethys_super" to give the proper permissions (see https://github.com/tethysplatform/tethys/wiki/Testing-Requirements). With 2.0, if I change the user to "tethys_super" I get the error that the role "tethys_super" does not exist. Is there a different super user that I can use for testing?
--
You received this message because you are subscribed to the Google Groups "Tethys Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tethysplatfor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tethysplatform/67295f3d-c3e2-42cf-96a3-a7090ba67b80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
You received this message because you are subscribed to the Google Groups "Tethys Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tethysplatfor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tethysplatform/CAGybdFRyS5Lg%2Bo7k-ZP4cjqs12Bm9A_BMsi-h-Mi0vY3O8qmFw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.