Permalink
Browse files

Fixing URLs from old website to wiki at github

  • Loading branch information...
1 parent 931b425 commit 8caf5c340744585a900636dc74639d87618e1a29 @diogobaeder diogobaeder committed Aug 18, 2012
Showing with 7 additions and 7 deletions.
  1. +1 −1 Makefile
  2. +2 −2 README.textile
  3. +4 −4 tests/unit/test_page_registry.py
View
@@ -126,7 +126,7 @@ upload: clean
docs:
@python pyccuracy/actions/core/__init__.py > actions_reference.textile
@echo -e "\nFile 'actions_reference.textile' was generated.\n"
- @echo -e "Don't forget to update http://pyccuracy.org/actions-reference.\n"
+ @echo -e "Don't forget to update https://github.com/heynemann/pyccuracy/wiki/Actions-Reference.\n"
deb:
mv .git /tmp/pyccuracy_git
@@ -1,10 +1,10 @@
h1. Pyccuracy
-"Pyccuracy":http://pyccuracy.org is a "Behaviour-Driven-Development-style":http://behaviour-driven.org tool written in Python that aims to make it easier to write automated acceptance tests. It improves the readability of those tests by using a structured natural language - and a simple mechanism to extend this language - so that both developers and customers can collaborate and understand what the tests do.
+"Pyccuracy":https://github.com/heynemann/pyccuracy/wiki is a "Behaviour-Driven-Development-style":http://behaviour-driven.org tool written in Python that aims to make it easier to write automated acceptance tests. It improves the readability of those tests by using a structured natural language - and a simple mechanism to extend this language - so that both developers and customers can collaborate and understand what the tests do.
h2. Help
-Please check "our documentation":http://pyccuracy.org/. For quick usage help use the *pyccuracy_help* command line tool.
+Please check "our documentation":https://github.com/heynemann/pyccuracy/wiki. For quick usage help use the *pyccuracy_help* command line tool.
h2. Mailing list
@@ -64,9 +64,9 @@ def test_page_registry_resolve_by_page_class_name_with_base_url_get_right_url():
class MyPage(Page):
url = 'blabla'
- PageGot, url = PageRegistry.resolve(Settings({'base_url': 'http://pyccuracy.org'}), 'My Page', exists_func=fake_abs)
+ PageGot, url = PageRegistry.resolve(Settings({'base_url': 'https://github.com/heynemann/pyccuracy/wiki'}), 'My Page', exists_func=fake_abs)
assert PageGot is MyPage, 'The page resolved by "My Page" should be a type class: MyPage. Got %r.' % PageGot
- assert url == 'http://pyccuracy.org/blabla', 'The url must be http://pyccuracy.org concatenated with "/" and "blabla". Got "%s".' % url
+ assert url == 'https://github.com/heynemann/pyccuracy/wiki/blabla', 'The url must be https://github.com/heynemann/pyccuracy/wiki concatenated with "/" and "blabla". Got "%s".' % url
def test_page_registry_resolve_by_page_class_name_with_base_url_get_right_url_without_slash():
class MyPage(Page):
@@ -114,10 +114,10 @@ class MyPage(Page):
assert url == 'file:///home/blabla', 'The url must be "file:///home" concatenated with "/" and "blabla". Got "%s".' % url
def test_page_registry_resolve_page_by_url_with_base_url():
- PageGot, url = PageRegistry.resolve(Settings({'base_url': 'http://pyccuracy.org'}), 'my_url', exists_func=fake_abs)
+ PageGot, url = PageRegistry.resolve(Settings({'base_url': 'https://github.com/heynemann/pyccuracy/wiki'}), 'my_url', exists_func=fake_abs)
assert PageGot is None, 'The page resolved by "my_url" should be a type class: MyPage. Got %r.' % PageGot
- assert url == 'http://pyccuracy.org/my_url', 'The url must be "http://pyccuracy.org/my_url". Got "%s".' % url
+ assert url == 'https://github.com/heynemann/pyccuracy/wiki/my_url', 'The url must be "https://github.com/heynemann/pyccuracy/wiki/my_url". Got "%s".' % url
def test_page_registry_resolve_page_by_url_without_base_url_with_slash():
PageGot, url = PageRegistry.resolve(Settings(dict(tests_dir='/test/'), cur_dir='/test/'), 'my_url', exists_func=fake_abs)

0 comments on commit 8caf5c3

Please sign in to comment.