~landscape/storm/staging

« back to all changes in this revision

Viewing changes to tests/databases/base.py

  • Committer: Tarmac
  • Date: 2015-06-15 18:29:08 UTC
  • mfrom: (246.1.231 storm)
  • Revision ID: landscape-devel@lists.canonical.com-20150615182908-yntj5s6itomv4psd
Merging from trunk for staging deployment

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
    def test_create(self):
103
103
        self.assertTrue(isinstance(self.database, Database))
104
104
 
 
105
    def test_get_uri(self):
 
106
        """
 
107
        The get_uri() method returns the URI the database with created with.
 
108
        """
 
109
        uri = self.database.get_uri()
 
110
        self.assertIsNotNone(uri.scheme)
 
111
 
105
112
    def test_connection(self):
106
113
        self.assertTrue(isinstance(self.connection, Connection))
107
114