commit | 65e26941a0a0b92dff38c7042d32452407a97a7b | [log] [tgz] |
---|---|---|
author | Logan Chien <loganchien@google.com> | Thu Nov 02 19:08:52 2017 +0800 |
committer | Logan Chien <loganchien@google.com> | Mon Nov 06 02:47:27 2017 +0000 |
tree | 774af6cb9beedde5e87cf83df4d1f3f9342bf413 | |
parent | 0bf6e61852575f5780cf04fdbd9588a38191256a [diff] |
sourcedr: Extract Project class from server.py This commit adds an abstraction for Project so that the review project files can be used by other command line tools. This commit also removes several Flask global variables. Now, the functional tests will only rely on the `create_app()` factory function. Test: ./sourcedr/functional_tests.py Change-Id: Id285664bb4d7c5788c50fd9edb12cb691ae9b9f6