def test_get_uv(self):
        """
	Tests the get_uv function to see if the function returns the correct number
        up votes for a given post
        """
        with project.app.app_context():
            self.assertEqual(Votes.get_uv(1), 1)
def getUpVotes(postID):
    """Retreives the number of up votes for a given post

	Args:
	postID:Votes - the post ID from which the up votes is required

	Return:
	number of upvotes

	Raises:

	"""
    return Votes.get_uv(postID)