File: test_loader.py

package info (click to toggle)
python-plaster-pastedeploy 0.5-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 316 kB
  • sloc: python: 639; makefile: 12
file content (9 lines) | stat: -rw-r--r-- 284 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
import plaster

def test___repr__():
    from plaster_pastedeploy import Loader
    uri = plaster.PlasterURL('pastedeploy+ini', 'development.ini')
    loader = Loader(uri)
    assert str(loader) == (
        'plaster_pastedeploy.Loader(uri="pastedeploy+ini://development.ini")'
    )