Example #1
0
 def test_citation_url_is_preprint_url_not_project(self):
     res = self.app.get(self.published_preprint_url)
     assert_equal(res.status_code, 200)
     assert_equal(res.json['data']['links']['self'],
                  display_absolute_url(self.published_preprint))
	def test_citation_url_is_preprint_url_not_project(self):
		res = self.app.get(self.published_preprint_url)
		assert_equal(res.status_code, 200)
		assert_equal(res.json['data']['links']['self'], display_absolute_url(self.published_preprint))