Skip to content

erichaase/atlassian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Description

  • Input: a chat message (string)
  • Output: JSON describing the message's special content (string)

Special Content

Mentions

Emoticons

  • Format: (emoticonname)
  • Description: ASCII strings representing 'custom' emoticons, no longer than 15 characters, contained in parenthesis (you can assume that anything matching this format is an emoticon)
  • Reference: HipChat - Emoticons

Links

  • Format: http(s)://...
  • Description: any URLs contained in the message, along with the page's title

Examples

See test cases in test/test_hip_chat.py

Test

  1. sudo pip install -r requirements.txt
  2. py.test

About

Atlassian interview exercise

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages