<commit_before>require 'helper'

class TestPermissionInterface < Test::Unit::TestCase
    
  def setup
    @ricews = KualiRice::KualiRESTInterface.new
  end
  
  should "retrieve an array of assigness" do
    assignees = @ricews.getPrincipalsByPremissionName("Initiate Document 117", "KFS-SYS")
    assert assignees.length > 0, "Array should have elements"
    assert_equal "299547", 
  end
end<commit_msg>run tests first<commit_after>require 'helper'

class TestPermissionInterface < Test::Unit::TestCase
    
  def setup
    @ricews = KualiRice::KualiRESTInterface.new
  end
  
  should "retrieve an array of assigness" do
    assignees = @ricews.getPrincipalsByPremissionName("Initiate Document 117", "KFS-SYS")
    assert assignees.length > 0, "Array should have elements"
    assert_equal "299547", assignees[0].principalId
  end
end
{'fraction_non_alphanumeric': 0.08949880668257756, 'fraction_numerical': 0.025059665871121718, 'mean_word_length': 4.519736842105263, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6939795', 'n_tokens_mistral': 289, 'n_tokens_neox': 262, 'n_words': 68}