source:
pyson/test/testURI.py
Last change on this file was 298, checked in by , 3 years ago | |
---|---|
File size: 269 bytes |
Rev | Line | |
---|---|---|
[186] | 1 | |
2 | import unittest | |
3 | ||
[298] | 4 | from uri.uri import URI |
[186] | 5 | |
6 | from pyson.JsonValue import JsonValue, getJsonValue | |
7 | ||
8 | ||
9 | class testURI(unittest.TestCase): | |
10 | def testURI(self): | |
11 | uristr = 'ws://localhost:8080/profilesserver/websocket/get/party/party1' | |
12 | self.assertEqual(uristr,str(URI(uristr))) |
Note:
See TracBrowser
for help on using the repository browser.