repo.or.cz
/
straw.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Removed non-existent SummaryItem module from Makefile.am.
[straw.git]
/
test
/
TestSQLiteStorage.py
blob
7f8b1796b67c47f662e41d7b63e93e02d8d14197
1
import
nose
2
3
from
straw
.
storage
import
SQLiteStorage
as
storage
4
5
class
TestSQLiteStorage
:
6
def
testInit
(
self
):
7
db
=
storage
.
SQLiteStorage
(
"./test/sqlite.db"
)
8
9
def
testQuery
(
self
):
10
db
=
storage
.
SQLiteStorage
(
"./test/sqlite.db"
)
11
print
db
.
query
(
"SELECT * FROM feeds"
)