Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Started adding unit tests to Aristotle
- Loading branch information
Jeremy Nelson
committed
Feb 11, 2012
1 parent
6b34ee2
commit 6db9ad3
Showing
15 changed files
with
78 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
""" | ||
:mods:`tests` Unit tests for discovery functionality in Aristotle | ||
""" | ||
__author__ = 'Jeremy Nelson' | ||
import unittest | ||
from django.test.client import Client | ||
|
||
class TestSearch(unittest.TestCase): | ||
|
||
def setUp(self): | ||
self.client = Client() | ||
|
||
|
||
def test_default(self): | ||
response = c.get('/') | ||
self.assertEquals(response.status_code,'200') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{% extends 'cc-search-base.html' %} | ||
|
||
{% block search-title %}Tutt Library Discovery Services 404 Page Not Found • Colorado College{% endblock %} | ||
|
||
{% block more-css %} | ||
{% endblock %} | ||
|
||
{% block search-panel %} | ||
{% endblock %} | ||
|
||
{% block search-facets %} | ||
{% endblock %} | ||
|
||
{% block results-detail %} | ||
{% endblock %} | ||
|
||
{% block results-list %} | ||
<div class="main"> | ||
<div class="results-list discovery-service"> | ||
<h1>Sorry! 404 Error</h1> | ||
<div class="discovery-home"> | ||
<h2 class="discovery-home">Please contact the library if you continue to have pproblems</h2> | ||
<p> We couldn't find this resource | ||
</p> | ||
<span class="clear"></span> | ||
</div> | ||
</div> | ||
</div> | ||
<span class="clear"></span> | ||
{% endblock %} | ||
|
||
{% block more-scripts %} | ||
{% endblock more-scripts %} |
This file was deleted.
Oops, something went wrong.