You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
317 B

# -*- coding: utf-8 -*-
import os
import unittest
import testenv
import fixtures
from pubs.paper import Paper
class TestAttributes(unittest.TestCase):
def test_tags(self):
p = Paper(fixtures.page_bibdata, metadata=fixtures.page_metadata)
self.assertEqual(p.tags, set(['search', 'network']))