# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-import pkg_resources
-
from mediagoblin import celery_setup
+ from mediagoblin.config import read_mediagoblin_config
+
+
+ TEST_CELERY_CONF_NOSPECIALDB = pkg_resources.resource_filename(
+ 'mediagoblin.tests', 'fake_celery_conf.ini')
+ TEST_CELERY_CONF_MGSPECIALDB = pkg_resources.resource_filename(
+ 'mediagoblin.tests', 'fake_celery_conf_mgdb.ini')
def test_setup_celery_from_config():