Commit e2cbc5fe authored by Guillaume HEUSCH's avatar Guillaume HEUSCH
Browse files

[database] added test for BRSU

parent 9ea5856e
Pipeline #35696 passed with stage
in 19 minutes and 20 seconds
......@@ -147,7 +147,10 @@ def test_maskattack():
# Test the Aggregated database, which doesn't have a package
def test_aggregated_db():
aggregated_db =
......@@ -229,6 +232,23 @@ def test_casiasurf():
% e)
def test_brsu():
brsu =
assert len(brsu.objects()) == 276
assert len(brsu.objects(purposes=('real',))) == 192
assert len(brsu.objects(purposes=('attack',))) == 84
except IOError as e:
raise SkipTest(
"The database could not be queried; probably the db.sql3 file is missing. Here is the error: '%s'"
% e)
def test_casia_fasd():
casia_fasd =
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment