Renamed attract_server → attract
This commit is contained in:
6
attract/templates/attract/index.html
Normal file
6
attract/templates/attract/index.html
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
{% extends 'layout.html' %}
|
||||||
|
{% block page_title %}Attract{% endblock %}
|
||||||
|
{% block body %}
|
||||||
|
<h1>Attract</h1>
|
||||||
|
<p>This is Attract. Templates are found.</p>{% endblock %}
|
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
from pillar import PillarServer
|
from pillar import PillarServer
|
||||||
from attract_server import AttractExtension
|
from attract import AttractExtension
|
||||||
|
|
||||||
app = PillarServer('.')
|
app = PillarServer('.')
|
||||||
app.load_extension(AttractExtension(), '/attract')
|
app.load_extension(AttractExtension(), '/attract')
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
from pillar.tests import PillarTestServer, AbstractPillarTest
|
from pillar.tests import PillarTestServer, AbstractPillarTest
|
||||||
from attract_server import AttractExtension
|
from attract import AttractExtension
|
||||||
|
|
||||||
|
|
||||||
class AttractTestServer(PillarTestServer):
|
class AttractTestServer(PillarTestServer):
|
||||||
|
@@ -12,7 +12,7 @@ import mock
|
|||||||
import svn.common
|
import svn.common
|
||||||
|
|
||||||
import logging_config
|
import logging_config
|
||||||
from attract_server import subversion
|
from attract import subversion
|
||||||
|
|
||||||
SVN_SERVER_URL = 'svn://biserver/agent327'
|
SVN_SERVER_URL = 'svn://biserver/agent327'
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user